Co robi LOCALE użycie. Konsola system, including character encodings, the formatting of dates.

Czy przydatne?

Polecenie locale

Wykonanie, użycie: Print report on current locale settings. Locales determine the country-specific settings for a system, including character encodings, the formatting of dates, honorifics, diagnostic messages, currency, printer-paper sizes, and default measurements. Locale settings are essentially a dictionary of settings specified by keyword. The keywords are grouped together into related categories whose names begin with LC_. Each category has a related environment variable of the same name from which it will read its locale setting. Supply keyword or category names as name to examine their values. Multiple names may be given. You can also use the special keyword charmap to see the current character mapping. When executed with no arguments, locale prints the value of all locale-related environment variables

Opcje wykonania locale w konsoli


Print all available locale settings installed on the system.


Print the category related to each name argument.


Print keywords along with their settings for each name argument.


Print all available character maps.

Przykłady locale działanie w Słownik polecenie L