To find the 10 largest (filesize-wise) folders in your current working path type:
du -cks * | sort -rn | head -10
or
du -x --block-size=1024K | sort -nr | head -10
and remember if you just want to know how much free space is available don’t forget the classic old df -h command:
root@server [~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md2 65G 49G 13G 80% /
/dev/md0 99M 47M 48M 50% /boot
/dev/sdc 2.2T 1.3T 924G 59% /raid/r0/p1
/dev/mapper/mpath1 4.8T 2.3T 2.5T 49% /raid/r2/p1
/dev/mapper/mpath2 4.1T 3.2T 959G 78% /raid/r2/p2
/dev/mapper/mpath3 4.1T 3.3T 904G 79% /raid/r2/p3
/dev/mapper/mpath4 4.8T 455G 4.4T 10% /raid/r1/p1
/dev/mapper/mpath5 4.1T 737G 3.4T 18% /raid/r1/p2
/dev/mapper/mpath6 4.1T 528K 4.1T 1% /raid/r1/p3
Related Posts: On this day...
- Tampa Bay Lightning using Tesla coil for goal celebrations - 2011
- Cleverly designed camera bag keeps you stealthish - 2010
- Applause For Finland: First Country To Make Broadband Access A Legal Right - 2009
- TSA didn't keep track of ex-employees' badges and uniforms - 2008
- Hackers got into 18 computer servers at World Bank - 2008

BeautyandBoost.com
Music















[...] – HOWTO: Find your top 10 directories eating up disk space saved by vbfischer2008-11-05 – Designing for WordPress: Complete Series & Downloads – [...]