#!/bin/bash # dfull pretties the output of the df command # dfull sorts partitions by their fullness df -h -P | sed 's/Mounted on/Mounted_on/' | column -t | head -n 1 df -h -P | sed 's/Mounted on/Mounted_on/' | column -t | tail -n +2 | sort -rn -k5,5