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

Re: Listing directories with ls?



On Tue, Dec 17, 2002 at 07:06:07PM +0000, Gary Skowronek wrote:
> Hey Dan,
> 
> Create an alias!
> If you're using the bash shell, here ya go!
> Put this in your .bashrc file.
> 
> 	alias ldir='ls -l|grep "^d"'
> 
> Then....
> source your .bashrc file.
> 
> ldir  will list only the directories.
> 
> Gary
> 
But not recursively down the directory tree. find is really
the only option I can see.
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
715 Stadium Dr.
San Antonio, TX 78212-7200

telephone: (210)-999-7484
email:akonstam trinity edu





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