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

Re: Simple sh or alias to list directories



On 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 !

I use alias ld='ls -l | grep "^d"'

Many interesting ways of doing the same thing :)

--
Andrew



Reply to: