[Linux] display space sorted by % used
echo -e "Use%\tAvail:\tMounted on:" ; df -hP | sort -nr -k5 | grep -P '\d%' | awk '{ printf $5 ; printf "\t" ; printf $4 ; printf "\t" ; print $6 }'
Written by Martin
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#