For beginners:
$ ls -l | grep "^d"
Michael Heiming
--
Remove +SIGNS and www. if you expect an answer, sorry for
inconvenience, but I get tons of SPAM
In some shells:
ls -ld */
--
Chris F.A. Johnson http://cfaj.freeshell.org
===================================================================
My code (if any) in this post is copyright 2003, Chris F.A. Johnson
and may be copied under the terms of the GNU General Public License
> When type "ls -l", all directories and files are listed. If I only
> want to list directories, how to do it? Thanks!
ls -Fl | grep \/
--
Desmond Coughlan
desmond @ zeouane.org
http: // www . zeouane . org
What do advanced users do?
man ls :)
man grep :)