Y
Hacker News
new
|
ask
|
show
|
jobs
by
gav
4916 days ago
Using `find` is nice to get just directories:
$ find . -type d -maxdepth 1
2 comments
pnrao
4916 days ago
I use:
% ls -d */
link
VaucGiaps
4916 days ago
ls -al | grep ^d
link
ralph
4916 days ago
(Fails if a directory has a linefeed in its name followed by a 'd'. :-)
link
% ls -d */