+++ Tux [2003-03-28 21:08:44]: > >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 -Lad */ is more efficient, it'll give you the same result minus the -l listing.. and one less fork! > >Without the capital "L" in this alias > >the alias will not list directories > >that are symbolic links. The "-L" is something that I didn't know! Kingsly -- ------------------------------------------------------- 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
