I'm trying to write a bash command that will sort all volumes by the amount of data they have used and tried using
df | awk '{print $1 | "sort -r -k3 -n"}' Output:
map devfs Filesystem /dev/disk1s5 /dev/disk1s2 /dev/disk1s1 But this also shows the header called Filesystem. How do I remove that?