Linux中文显示设置

[root@shuai ~]# cat /etc/sysconfig/i18n 
LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16"
[root@shuai ~]# echo 'LANG="zh_CN.UTF-8"' >/etc/sysconfig/i18n 
[root@shuai ~]# cat /etc/sysconfig/i18n 
LANG="zh_CN.UTF-8"
[root@shuai ~]# echo $LANG
zh_CN.UTF-8
[root@shuai ~]# . /etc/sysconfig/i18n 
[root@shuai ~]# echo $LANG
zh_CN.UTF-8
[root@shuai ~]# 
 

你可能感兴趣的:(基础优化)