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

du -sh ./D*

  872K	./Desktop
  78M	./Documents
  3.2G	./Downloads


I would add | sort -h here


if you don't have "sort -h" (mine doesn't do it), you can also use "du -m", which gives file sizes in megabytes -- pretty reasonable. (then "sort -n")




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: