Page 1 of 1

การ List การใช้เนื้อที่ storage ตาม folder

Posted: 11 Oct 2013, 11:09
by brid.surapol
http://askubuntu.com/questions/1224/how ... mmand-line

Code: Select all

du -hs /path/to/folder

The -s is for summary (otherwise you'll get not only the size of the folder but also for everything in the folder separately), the -h is to get the numbers "human readable", e.g. get 140M instead of 143260 (size in KBytes)

Re: การ List การใช้เนื้อที่ storage ตาม folder

Posted: 11 Oct 2013, 11:18
by brid.surapol
Or use ncdu

Code: Select all

sudo apt-get install ncdu

Code: Select all

ncdu /