Linux Command line Tip: Directory Sizes
Monday, May 18, 2009 at 6:20PM
Jose Perez in Linux, linuxtips
Some basic BASH shell commands for gathering directory size information.
- du -h - Shows all directories sizes including sub directories
- du -sh * - Show all the 1 level sub directories size
- du -sh - Calculate current directory size you are in
- du -sh /etc - Size of specific directory
- df -h - Show overall mounted volume disk space usage
These work in OSX's terminal as well.
Article originally appeared on Jose Perez- 3D Artist and Tech Geek (http://www.fxstation.net/).
See website for complete article licensing information.