listing of directories with ls - R - produces an overhead of data
hello dear linux-experts
i want to have the listing of some directories i have set up a http-server in opensuse 12.3 i want to have a listing but - if i do a ls -R in martin@linux-70ce:/srv> ls -R i get a bunch of information - too much - see http://pastebin.com/CNbxBmd6 see the explanation - here Code:
If you want a recursive directory listing in Unix, one of the following may be useful: love to hear frrom you say :) |
Hi Say,
If you only want to see directories, find is probably the best command: Code:
find /srv -type d |
You could also do
Code:
ls -d /srv/*/ |
hello
what bout the aimed listing of all the directories of /home is this possible? note: what robhogg suggested is quite hard to do: the following code Quote:
|
ls -d /home/*/
|
An alternative might be 'tree -d'. You can limit the depth of the tree with the -L option.
|
All times are GMT -5. The time now is 02:52 AM. |