1、使用SSH Secure Shell Client连上CentOS7机器,使用tree-bash砜实蛰斓: tree: command not found
2、安装treeyum -y install tree另外 yum 卸载是remove
3、安装好以后,在使用tree命令
4、使用命令alias tree='tree --charset ASCII'再使用tree,正常显示,没有乱码
5、重启机器后,在使用tree,依然是乱码,每次使用这个命令都要先设置字符集很麻烦
6、查了很久,SSH Secure Shell Client好像就是会有这个问题,果断使用XShell连接工具,就没有乱码了,以后就用这个吧