How to list the directory tree?
I use RH Linux. I tried using the tree command to list the directory tree but failed. I was told this command doesn't exist.
|
You need to install the tree package
|
How?
|
try
Code:
yum install tree |
On a debian based distro you would simply type:
Code:
sudo apt-get install tree Go to: http://rpm.pbone.net and search for the package that you want to install (if it's not on your installation media). Once you have found the rpm file download it to your machine and install as root from th command line: Code:
rpm -i tree-whatever.rpm |
Quote:
|
It doesn't matter, I normally save them to /usr/local/src
The important thing is to run the rpm command from that directory. |
Quote:
|
Download the rpm
open a terminal become root cd to the directory where you saved the rpm type Code:
rpm -ivh rpmname.rpm Or type Code:
yum install tree |
The problem is I can't find out the "tree" package from the site "http://rpm.pbone.net".
|
Quote:
|
Quote:
But there is no for Redhat Enterprise Linux 4. |
Did you tried
Code:
yum install tree |
Quote:
Yes, but I got Code:
-bash: yum: command not found |
Quote:
Another way: Code:
up2date install tree |
All times are GMT -5. The time now is 10:03 AM. |