解决linux 中文乱码


解决办法是在文件/etc/profile末尾添加一行

echo 'export LC_ALL="en_US.UTF-8"' >> /etc/profile
source /etc/profile
原文地址:https://www.cnblogs.com/faberbeta/p/linux-shell023.html