Skip to content

Instantly share code, notes, and snippets.

@robcowie
Created February 8, 2019 13:32
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 robcowie/146fb100b6788de08a317d71632ff21f to your computer and use it in GitHub Desktop.
Save robcowie/146fb100b6788de08a317d71632ff21f to your computer and use it in GitHub Desktop.
Mounted partition with most free space
df | grep / | sort -k 4 -n -r | head -n 1 | awk '{print $6}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment