Hacker News new | ask | show | jobs
by williadc 4916 days ago
Dunno what "better" means, but this also works:

find -maxdepth 1 -type d

1 comments

seconded. what I have always used