Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Dunno what "better" means, but this also works:

find -maxdepth 1 -type d



seconded. what I have always used




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: