On Tue, 2003-11-18 at 10:32, Lynn W wrote: > I know this must be a silly question, but I have tried looking at the man and the > --help and could not find it: > > How does one use the ls command to display just the directories' names, and suppress > those which are not directories? In MS-DOS, it was dir /ad > > Doing ls -ld * does not do it as it only displays the files in the current directory.
I have ls aliased to ls -lh so I generally do: ls |grep ^d -- Alex Malinovich Support Free Software, delete your Windows partition TODAY! Encrypted mail preferred. You can get my public key from any of the pgp.net keyservers. Key ID: A6D24837
signature.asc
Description: This is a digitally signed message part