Re: list folders only!
Maxwell Lol wrote:
> Marek <mstep@podiuminternational.org> writes:
>
>> % ls | grep ^d
>
> Here's a couple of aliases
>
> alias lsd '/bin/ls -aF | grep /$ | xargs /bin/ls -Cd'
> alias ldir '/bin/ls -l|/bin/grep "^d"'
> alias dir 'set d = `ls -1F \!* |grep /`; if ($#d) echo "$d:gh";unset d'
"if" without "then" and "fi"?
--
Best regards | Monica Lewinsky's X-Boyfriend's
Cyrus | Wife for President
|