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

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
  
<code>du -sh /path/to/file</code>
 
  
 +
== Examples ==
 +
* <code>du -sh /path/to/file</code>
 +
* <source lang="console">du -sk *</code>
  
  
 
[[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 /path/to/file
  • <source lang="console">du -sk *

Advertising: