Linux下不能使用tree命令,是因为没有安装命令, 执行下面代码就行了 yum install tree -y 转载于:https://www.cnblogs.com/SanChauncy/p/10643649.html