Skip to content

Instantly share code, notes, and snippets.

@eggsy84
Last active April 23, 2019 09:31
Show Gist options
  • Save eggsy84/e9d6b3e630643d3ba7a200ec4c2b971b to your computer and use it in GitHub Desktop.
Save eggsy84/e9d6b3e630643d3ba7a200ec4c2b971b to your computer and use it in GitHub Desktop.
# Trusty command to find large files
find / -type f -size +100000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
# Large folders
du -k /* | awk '$1 > 500000' | sort -nr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment