Hacker News new | past | comments | ask | show | jobs | submit login

Tha shows only some files. To list all files, use:

du -hs * .* | sort -h




Or if you (like me) hate depending on globbing semantics:

$ find . -mindepth 1 -maxdepth 2 -print0 | xargs -0 -- du -hs

Not that I would write it in a shell. ;)




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

Search: