Monday
May182009
Linux Command line Tip: Directory Sizes

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.
Reader Comments