Show the total space used on all your local disk partitions

df -lP |awk '{sum += $3} END {printf "%d GiB\\n", sum/2\*\*20}'

- via @clmagic