wanna get all directories in / [Archive] - C Board

PDA

View Full Version : wanna get all directories in /


klausi
02-26-2002, 05:34 AM
Hi!
Is there any Linux-command that works like "dir C:\ /S /B" under MS-DOS? Or what do you think in implementing it on myself, would it be difficult?

klausi

alex
02-26-2002, 10:02 AM
Yes there is,

find / -type d
to find all directories

find /
to find all files, including pathname

alex

Salem
02-26-2002, 01:52 PM
Or even just
ls -R

or is it
ls -r

I dunno - read the manual

klausi
02-27-2002, 04:09 AM
Thank you all, itīs what I wanted.

klausi