Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
codegeek
· 14y ago · 0 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.
Comments
[–]
andreasvc
14y ago
That's funny, I also have an alias for lsd which does this. But you can do it without grep: lsd='ls -d */'
[–]
bgaluszka
14y ago
Yours doesn't show . directories and parents does.
[–]
Evbn
14y ago
But lsd makes you see things that aren't even there.