In Ubuntu, “df” stands for “disk free” and is a command used to display the amount of available disk space on a mounted file system, essentially showing how much free space is currently available on your system. 

Some of the typical options are

To view the sizes in powers of 1024 (e.g., 1024M) use the -h option (–human-readable) making it easier to for human to read

To also view the total of all the disk space you can add the –total option

In Ubuntu, “du” stands for “disk usage” and is a command used to estimate the disk space occupied by files and directories within a specified directory on your system; essentially, it tells you how much space a particular directory or file is taking up on your hard drive. 

Use the -h option to display the size in human readable format with Megabytes or Gigabytes