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

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
== Related commands ==
 
== Related commands ==
 
* <code>[[df]]</code> (disk free)
 
* <code>[[df]]</code> (disk free)
* <code>[[find]]</code>
+
* <code>[[find]]</code>: <code>find . -ls 2>&1 | sort -rnk7 | more</code>
 
* <code>[[docker volume ls]]</code>
 
* <code>[[docker volume ls]]</code>
  

Revision as of 09:59, 4 February 2020

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


Examples

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

Related commands

See also

Advertising: