Skip to content

Instantly share code, notes, and snippets.

@rgo
Created November 12, 2009 09:43
Show Gist options
  • Save rgo/232764 to your computer and use it in GitHub Desktop.
Save rgo/232764 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Show disk usage in directories
for file in `ls`; do sudo du -sh $file; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment