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

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 8: Line 8:
 
* <code>du -hs *</code>
 
* <code>du -hs *</code>
 
* <code>du -hs /path/to/file</code>
 
* <code>du -hs /path/to/file</code>
 +
* <code>du -hs /path/to/directory</code>
 
* <code>du -hs -- *</code>
 
* <code>du -hs -- *</code>
  

Revision as of 03:26, 29 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 /path/to/directory
  • du -hs -- *

Related commands

See also

Advertising: