locale命令
[root@hzjjyf ~]# locale --help
[root@hzjjyf ~]# locale --help
Usage: locale [OPTION...] NAME
or: locale [OPTION...] [-a|-m]
Get locale-specific information.
System information:
-a, --all-locales Write names of available locales
-m, --charmaps Write names of available charmaps
Modify output format:
-c, --category-name Write names of selected categories
-k, --keyword-name Write names of selected keywords
-v, --verbose Print more information
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
locale命令实际显示的是/etc/locale.conf中设定的内容
[root@hzjjyf ~]# cat /etc/locale.conf
LANG=en_US.utf8
[root@C8-3 ~]# . /etc/locale.conf