The df and du commands report on disk space usage from within the Bash shell used on Linux, macOS, and many other Unix-like operating systems. These commands let you easily identify what’s using up your system’s storage.
Source: How to View Free Disk Space and Disk Usage From the Linux Terminal