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 Share this:Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on LinkedIn (Opens in new window) Related