写shell发现不能中文注释

1,根目录下 ls -a 会出现一个隐藏文件 .bash_profile

2,编辑  vi  .bash_profile ,在底部添加  export LANG=zh_CN.gbk

shell脚本中文注释乱码问题(解决)

相关文章: