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

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 5: Line 5:
 
== Examples ==
 
== Examples ==
 
* <code>du</code>
 
* <code>du</code>
* <code>du -sh *</code>
+
* <code>du -hs</code>
* <code>du -sh /path/to/file</code>
+
* <code>du -hs *</code>
* <code>du -sh -- *</code>
+
* <code>du -hs /path/to/file</code>
 +
* <code>du -hs -- *</code>
  
 
== Related commands ==
 
== Related commands ==

Revision as of 17:06, 20 April 2020

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


Examples

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

Related commands

See also

Advertising: