Skip to content

Instantly share code, notes, and snippets.

@m1stermanager
Created March 3, 2020 14:46
Show Gist options
  • Save m1stermanager/7a84100dae135e1e43b6b6e535c08bcf to your computer and use it in GitHub Desktop.
Save m1stermanager/7a84100dae135e1e43b6b6e535c08bcf to your computer and use it in GitHub Desktop.
random devops-ish stuff
source: https://maryrosecook.com/blog/post/freeing-disk-space-on-your-linux-server
1. ssh into box
2. sudo
3. get to root, run `du -h --max-depth=1`
4. follow the trail of the largest directories, removing what you don't need
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment