On Mon, Oct 01, 2001 at 06:49:31PM +0530, Shridhar Daithankar wrote:
> >
> > Sub : Directories-Only ls LOST #023
> >
> > To get the ls of directories only without a listing of files
> > in that directory:
> >
> > $ls -d */ .... if you are on bash shell.
>
> Heck, I alway did 'ls -al | grep ^d'. Didn't know that there is
> an elegant way of doing it. Other way is the big axe :
> 'find . -type d' (IIRC)
>
> --__--__--
---end quoted text---
Shridhar,
That's what LOST tips are basically meant for. Most of us
know some hack or the other ... why not put them on a common form
so that all can share ... good things spread fast .. Knowledge, I
believe, is nobody's private property !
You'll definitely be having many, why don't you jot down
a few that come "off the cuff" and mail them to me, whenever you
can ...
Bish
:
####[ Linux One Stanza Tip (LOST) ]###########################
Sub : Linux Commands (#4) LOST #056
For a newbie introduction to Linux commands and shotcuts visit
the following URL:
http://sunsite.dk/linux-newbie/Linux_commands.htm
####<[EMAIL PROTECTED]>##################################
:
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help