CentOS文件编码修改为utf-8,修改完成之后,需要reboot,如果需要xshell正常显示,也许要对客户端进行同步修改

bash <(curl -s https://jekyll-gen-1251110281.file.myqcloud.com/shell/set_locale.sh)

Ubuntu将字符集修改成中文

bash <(curl -s https://jekyll-gen-1251110281.file.myqcloud.com/shell/set_locale_ubuntu.sh)

为终端增加历史功能

bash <(curl -s https://jekyll-gen-1251110281.file.myqcloud.com/shell/history_command.sh)