Skip to content

Instantly share code, notes, and snippets.

@todgru

todgru/bash.md

Last active Dec 11, 2015
Embed
What would you like to do?
bash
  • du -sh {directory} list display size of directory in human readable format.
  • du -sh * show size of each directory in the current path
  • df disk space usage
$ du -sh *
 11M  Applications
1.9G	Desktop
 14G	Documents
8.0K	Downloads
1.7G	Dropbox
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment