Ubuntu 16.04.5 命令行中文显示方法

VPS Ubuntu 16.04.5的系统,命令行想显示中文,如何处理?

方法如下:

apt-get install language-pack-zh-hans -y
echo "export LC_CTYPE='zh_CN.UTF-8'" >> /etc/profile
source /etc/profile

未经允许不得转载:阿藏博客 » Ubuntu 16.04.5 命令行中文显示方法

赞 (0) 打赏