Difference between revisions of "Du (disk usage) command"
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
df
(disk free)find
:find . -ls 2>&1 | sort -rnk7 | more
docker volume ls
See also
- File system,
du, df, find, ls, mkdir, touch, locate
du, du -hs
, Disk space usage,df
,ls
,tree
,find
,docker system df
,journalctl --disk-usage
, No space left on device, ENOSPC,sar -F
,growpart
,resize2fs
, ncdu, duf, dua-cli
Advertising: