Last active
August 29, 2015 14:24
-
-
Save grena/2adc756ded5b7bb71554 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Size per directory | |
du -sh * | |
# More human | |
du -hsx * | sort -rh | head -10 | |
# Size per directory, sorted by size, with total and hidden dirs | |
du -sch .[!.]* * |sort -h | |
# Free disk space | |
df -h | |
# Count files in this directory + sub | |
find . -type f | wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment