Tux [linux-list] <28/03/03 21:08 +0000>:
> >
> >DIR ALIAS REPRISE
> >
> >The following alias will list just 
> >the directories in a directory and 
> >not other ordinary files. It will 
> >list a directory as a directory even 
> >if the directory is a symbolic link.
> >
> >alias dir='ls -Lla|grep ^d'

ls -F | grep /
works for me. never tried with symbolic links to directories though.

mario
-- 
Mario Michael da Costa <[EMAIL PROTECTED]>
-----------------------------------------------
The opinions expressed in this mail are mine
and may not reflect those of my employer.


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to