Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
t_hozumi
· 15y ago · 0 comments
du -sh ./D*
872K ./Desktop 78M ./Documents 3.2G ./Downloads
Comments
[–]
k_bx
15y ago
I would add | sort -h here
[–]
brendano
15y ago
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")