安迪老大

菩提本无树,明镜亦非台,本来无一物,何处惹尘埃 。

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

修改用户目录下文件 .bash_profile,增加红色部分内容,然后再用ssh(SSH Secure Shell Client 3.2.9)登录,即可显示中文,解决乱码问题。

下载地址http://ultra.pr.erau.edu/~jaffem/classes/SSHSecureShellClient-3.2.9.exe

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin
LANG=zh_CN.GB2312
export PATH
export LANG
unset USERNAME

 

posted on 2016-05-09 19:51  安迪老大  阅读(335)  评论(0)    收藏  举报