Last active
September 6, 2017 07:30
-
-
Save jonchurch/410f40becf7295445a375a7bf599f6b5 to your computer and use it in GitHub Desktop.
Linux commands for disk space exploration
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
# list largest files in current dir by descending | |
du -ch -d 1 | sort -hr | |
# list files in a certain range | |
du -ch | grep '[0-5]G' | |
# common place to start | |
du -ch /home | grep '[0-9]G' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment