Re: [expert] ls all dir and subdir?

2003-11-06 Thread Markus Ueberall
On Thu, 6 Nov 2003, Fajar Priyanto wrote: > Can ls list all directories and their subdirectories, something like DOS' > dir/s command? Of course it can; option "-R" is your friend. (Better yet, try "man ls" or "ls --help" to get detailed help.) Ad astra, -- Dipl.-Inf. Markus Ueberall

Re: [expert] ls all dir and subdir?

2003-11-06 Thread Artemio
> Hello all, > Can ls list all directories and their subdirectories, something like DOS' > dir/s command? # ls -R or # ls -lhR for viewing sizes of files/dirs "R" means "recursive" so it lists all dirs and their subdirs "h" - human-readable sizes, e.g. 10K, 1.5M "l" - full list (permissio

Re: [expert] ls all dir and subdir?

2003-11-06 Thread Fajar Priyanto
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thursday 06 November 2003 03:53 pm, Artemio wrote: > # ls -lhR > for viewing sizes of files/dirs > > "R" means "recursive" so it lists all dirs and their subdirs > "h" - human-readable sizes, e.g. 10K, 1.5M > "l" - full list (permissions, sizes etc.

RE: [expert] ls all dir and subdir?

2003-11-06 Thread Tango Echo
Re: [expert] ls all dir and subdir? > > >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >On Thursday 06 November 2003 03:53 pm, Artemio wrote: >> # ls -lhR >> for viewing sizes of files/dirs >> >> "R" means "recursive" so it lists all dir

Re: [expert] ls all dir and subdir?

2003-11-06 Thread Greg Meyer
On Thursday 06 November 2003 05:56 am, Fajar Priyanto wrote: > On Thursday 06 November 2003 03:53 pm, Artemio wrote: > > # ls -lhR > > for viewing sizes of files/dirs > > > > "R" means "recursive" so it lists all dirs and their subdirs > > "h" - human-readable sizes, e.g. 10K, 1.5M > > "l" - full l

Re: [expert] ls all dir and subdir?

2003-11-06 Thread Bill Mullen
On Thu, 6 Nov 2003, Fajar Priyanto wrote: > Actually, I'm trying to see how the file structure of my server is. Or is > there any better way to know it? Install the "tree" RPM (which provides the tree console app), it's ideal for this; it's recursive by default. For a directories-only listing: