Skip to content

Instantly share code, notes, and snippets.

@kule
Created November 17, 2010 15:35
Show Gist options
  • Save kule/703519 to your computer and use it in GitHub Desktop.
Save kule/703519 to your computer and use it in GitHub Desktop.
Linode Ubuntu; check the amount of disk space you have left.
df -H | grep -vE '^Filesystem|tmpfs|cdrom' | grep 'xvda' | awk '{ print $5 " (" $4 ") Left " }'
@chawk
Copy link

chawk commented Nov 3, 2014

awesome, thanks man.

@MarkHenryC
Copy link

Second that. Thanks.

@panosl
Copy link

panosl commented Jun 28, 2016

I get no output when I execute this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment