Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tech_notes:linux_commands [2026-03-22 Sun wk12 09:48] – [du] baumkptech_notes:linux_commands [2026-03-22 Sun wk12 09:59] (current) – [ncdu] baumkp
Line 28: Line 28:
     * ''-s'' set summaries      * ''-s'' set summaries 
   * ''%%sudo du -hd1 --exclude={/mnt,/run,/proc} /%%'' to check root (/).   * ''%%sudo du -hd1 --exclude={/mnt,/run,/proc} /%%'' to check root (/).
-    * It is important to exclude the noted directories as they are temporary or external drives.  Note I mount my external drives within ''/mnt''.  They speed up performance and remove errors and associated messages.+    * It is important to exclude the noted directories as they are temporary or external drives.  Note I mount my external drives within ''/mnt''.  This speed up performance and remove errors and associated messages, decluttering the output.
 ===ncdu=== ===ncdu===
-ncdu is a 'smart' version of nu.  It needs to be specifically installed, e.g. ''sudo apt install ncdu''+ncdu is a 'smart' version of du.  It needs to be specifically installed, e.g. ''sudo apt install ncdu''
-  *ncdu+  *''ncdu'' on the current directory 
 +  *''%%ncdu --exclude-kernfs --exclude /mnt /%%''  to check root (/) directory excluding system and mounts 
  
 ===df=== ===df===