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

Re: Simple sh or alias to list directories



your solution is more elegant than what i have put together with a
find call.  however how could you get it to list recursively?

i have tried

ls -1 -R -d */

tom

On Tue, 17 Oct 2000, USM Bish wrote:
> I am on bash. This is part of the the output of the 
> command "ls -d */" on my home directory.  Only  the 
> sub dirs are displayed.
> 
> aedes:~$ls -d */
> Mail/		    page/		nsmail/
> bd4v605/	    free/		tklatex/
> 
> HTH
> 
> alias lsd="ls -d */" should do your job !
> 
> USM Bish
> 



Reply to: