Difference between revisions of "Du (disk usage) command"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
  
 
== Examples ==
 
== Examples ==
 +
* <code>du -sh *</code>
 
* <code>du -sh /path/to/file</code>
 
* <code>du -sh /path/to/file</code>
* <source lang="console">du -sk *</source>
+
 
  
  
 
[[Category:Linux]]
 
[[Category:Linux]]
 
[[Category:Linux commands]]
 
[[Category:Linux commands]]

Revision as of 14:59, 8 December 2019

du (disk usage) command used to display file space usage.


Examples

  • du -sh *
  • du -sh /path/to/file

Advertising: