Determining Disk Usage with du
Another piece of information that you can access is how much disk space within the Unix system is in use. You can do so using du, as shown in Code Listing 7.5.
To Determine Disk Usage with du:
Code Listing 7.5. The du command reports exhaustivelyabout the disk usage in the current directory and in its subdirectories.
Code Listing 7.6. Using du with a specific directory name gives you focused results.