Command line tips - seeing how much disk space is left with df
t’s time for another command line tip today - and that is how to see how much disk space you have left overall on a particular partition.
It’s always good to know how much space you have left, especially when you’re about to leap into a backup, wget a big file or do some other process which needs a lot of space.
For this reason, there’s a great little command called df. Run it on its own and it will show you how many 1 kilobyte blocks are available, are used and how many overall can fit into your partitions. On my system, this gives: