neeraj forced the electrons to say:
> I wanted to take a print out of all the folders under the /home for
> records purpose.
> is there any command that expands the / to all the possible existing
> directories..

RedHat ships with an RPM called tree, which has a (you guessed it)
tree command. So,

cd /home
tree

should give you a proper directory tree of /home.

If tree is unavailable, then you can try

cd /home
find . -type d

to get paths to all directories. I guess getting tree kind of o/p from
the find is simple sed scripting.

Binand


----------------------------------------------
LIH is all for free speech.  But it was created
for a purpose.  Violations of the rules of
this list will result in stern action.

Reply via email to