linux中文显示设置

一、修改配置文件

[[email protected] ~]# cat /etc/sysconfig/i18n     

LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16"
[[email protected] ~]# 
[[email protected] ~]# cp /etc/sysconfig/i18n /etc/sysconfig/i18n.bak             备份
[[email protected] ~]# 
[[email protected] ~]# echo 'LANG="zh_CN.UTF-8"' >/etc/sysconfig/i18n        修改配置文件
[[email protected] ~]# 
[[email protected] ~]# cat /etc/sysconfig/i18n                       
LANG="zh_CN.UTF-8"

[[email protected] ~]# 

修改后,LANG变量内容没有变,需source 或者 . 使其生效

linux中文显示设置

二、修改SecureCRT设置

linux中文显示设置