Th Most Handy du (Disk Usage) Commands in Linux

du is a command line tool shipped with Linux that reports the amount of disk space used by directories and files. Short for “disk usage,” du is the primary tool for analyzing disk space in the command line. Basic Usage du /path/to/directory Run the du command with a directory to see a complete analysis of the disk space taken up by each directory. Each directory will be listed in turn in standard output, so large directories or full system scans may produce tens of thousands of lines and take considerable time. As a result, the… Read more