[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ls and directories only



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.

Thanks!
Lynn






____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005



Reply to: