tusken
asked on
A command to show the directory structure
I want to know if there a command in UNIX like the "tree" command in DOS where you can see all the structure of your directory and subdirectories....
that' its
Thx in advance
that' its
Thx in advance
find . -print | perl -pe 's#[^/]*/# #g'
Another way if you don't have perl use
du.
If you want an output like DOS there is no such program. You have to write your own.
du.
If you want an output like DOS there is no such program. You have to write your own.
Maybe you could try to install:
http://cgi.debian.org/www-master/debian.org/Packages/stable/utils/tree.html
http://cgi.debian.org/www-master/debian.org/Packages/stable/utils/tree.html
you may use "ls -l|more" to obtain a directory listing.
ASKER
The answer that suited the best my question is the one from OZO so i'll reopen my question and if ozo wants to answer it i'll give those points to him
For the others...... thx anyway!!!
For the others...... thx anyway!!!
You seem to imply that there's room for the answer to be better suited.
Was there something you would have preferred to change?
Was there something you would have preferred to change?
ASKER
No sorry (english is not my base language!!) i meant that your answer was the one i was looking for EXACTLY...so no it was alright... but if i would like just to have the directory and not all the file in it what would the command be like???
thx in advance ....and still learning unix AND english :-)
thx in advance ....and still learning unix AND english :-)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thx a lot!!!