locale - Linux Command - Unix Command

Developer Working In His Office.
vgajic / Getty Images


locale - Get locale-specific information. 


locale [ -a | -m]

locale [ -ck ] name...  


The locale program writes information about the current locale environment, or all locales, to standard output.

When invoked without arguments, locale summarizes the current locale environment for each locale category defined by the LC_* environment variables.



Write names of available locales.



Write names of available charmaps.

Output Format:



Write names of selected categories.



Write names and values of selected keywords.

Important: Use the man command (% man) to see how a command is used on your particular computer.

Was this page helpful?