Comment on Hacking ls -lComments−codegeek13yi always use one hack for ls. alias lsd="ls -ltrF | grep ^d"This way, I quickly run lsd to only look for directories.−andreasvc13yThat's funny, I also have an alias for lsd which does this. But you can do it without grep: lsd='ls -d */'−bgaluszka13yYours doesn't show . directories and parents does.−Evbn13yBut lsd makes you see things that aren't even there.
Comments
i always use one hack for ls. alias lsd="ls -ltrF | grep ^d"
This way, I quickly run lsd to only look for directories.
That's funny, I also have an alias for lsd which does this. But you can do it without grep: lsd='ls -d */'
Yours doesn't show . directories and parents does.
But lsd makes you see things that aren't even there.