Du Command in Linux
The du command, short for disk usage reports the estimated amount of disk space used by given files or directories. It is practically useful for finding files and directories taking up large amounts of disk space.
How to Get the Size of a Directory in Linux
The du command displays the amount of file space used by the specified files or directories.
Df Command in Linux (Check Disk Space)
How much space do I have left on my hard drive? On Linux based systems, you can use the df command to get a detailed report on the system's disk space usage.