Skip to content

Instantly share code, notes, and snippets.

@vpnwall-services
Last active October 9, 2018 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vpnwall-services/688bd10ec96b9e8a1aac49bfdb8edc61 to your computer and use it in GitHub Desktop.
Save vpnwall-services/688bd10ec96b9e8a1aac49bfdb8edc61 to your computer and use it in GitHub Desktop.
[Find big files] Help to find biggest files to free some space #linux #space
#!/bin/bash
#du -a / | sort -n -r | head -n 5
du -Sh / | sort -rh | head -5
find -type f -exec du -Sh {} + | sort -rh | head -n 5
apt-get install -y ncdu
ncdu /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment