我们在输入tree时,报找不到命令:
[oracle@dbserver ~]$ tree
-bash: tree: command not found
如果排除了路径找不到的问题,那么,一般是没有安装tree-1.5.3-2.el6.i686.rpm所导致,
我们只要找到tree-1.5.3-2.el6.i686.rpm包,安装即可:
[root@dbserver Packages]# cd /media/OL6.4 i386 Disc 1 20130225/Server/Packages
[root@dbserver Packages]# rpm -ivh xorg-x11-apps-7.6-6.el6.i686.rpm tree-1.5.3-2.el6.i686.rpm
warning: tree-1.5.3-2.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Preparing... ########################################### [100%]
1:tree ########################################### [100%]