您的位置: 首页 > 文章 > shell脚本中文注释乱码问题(解决) shell脚本中文注释乱码问题(解决) 分类: 文章 • 2024-05-03 10:15:40 写shell发现不能中文注释 1,根目录下 ls -a 会出现一个隐藏文件 .bash_profile 2,编辑 vi .bash_profile ,在底部添加 export LANG=zh_CN.gbk