第一步:打开.bash_profile 文件
vim ~/.bash_profile
第二步:在文件末尾添加这两行
export LC_ALL="zh_CN.UTF-8"
export LANG="zh_CN.UTF-8"
第三步:重新加载一下这个文件
source ~/.bash_profile
第四步:查看结果
ls
vim ~/.bash_profile
export LC_ALL="zh_CN.UTF-8"
export LANG="zh_CN.UTF-8"
source ~/.bash_profile
ls
评论区