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)