Feranija
2011-04-07 22:04:30 UTC
For everyone's enjoyment; shows all directories, hidden and
non-hidden, and ignore everything else, no programming interpreters
involved:
alias lsd='/bin/ls -FAv |grep /$ | column'
Option "v" is not necessary; the alias works well without it, but I
find it useful for natural sorting numbers within text as per manual.
The "column" is a little program from util-linux. The alias works
well without the column too, but the column gives a nice clear sorting.
I've come up with this alias back in the year 2000, and I've always
hesitated to post it anywhere believing I am reinventing the wheel.
Since I posted this alias on Archlinux forums yesterday on April
6th, 2011, I may post it here too.
non-hidden, and ignore everything else, no programming interpreters
involved:
alias lsd='/bin/ls -FAv |grep /$ | column'
Option "v" is not necessary; the alias works well without it, but I
find it useful for natural sorting numbers within text as per manual.
The "column" is a little program from util-linux. The alias works
well without the column too, but the column gives a nice clear sorting.
I've come up with this alias back in the year 2000, and I've always
hesitated to post it anywhere believing I am reinventing the wheel.
Since I posted this alias on Archlinux forums yesterday on April
6th, 2011, I may post it here too.