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

Re: ls'ing dirs before files



On Sun, 28 Jul 2002 18:49:26 -0500 Gary Turner <kk5st@swbell.net> wrote:

> The more I think about, the handier that sounds.  Until Herr Kringle
> fills the stockings, here's another novice attempt.  In .bashrc,
> 
> alias dir='ls -al | grep ^d && ls -al | grep ^[^d]'

1) only works without parameters (dir /tmp not possible)

2) completely misses symlinks to directories elsewhere, which should
appear in the dir group.

-- 
Carlos Sousa
http://vbc.dyndns.org/


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: