mirror of https://github.com/CrimsonTome/tldr.git
new page for du
parent
c46ea1c9bf
commit
58308e3b36
|
@ -0,0 +1,19 @@
|
||||||
|
# du
|
||||||
|
|
||||||
|
> Estimate file space usage
|
||||||
|
|
||||||
|
- get file sizes of directory's content
|
||||||
|
|
||||||
|
`du {{file/directory}}`
|
||||||
|
|
||||||
|
- get total size in human readable form
|
||||||
|
|
||||||
|
`du -sh {{file/directory}}`
|
||||||
|
|
||||||
|
- get recursively, individual file/folder sizes in human readable form
|
||||||
|
|
||||||
|
`du -ah {{directory}}`
|
||||||
|
|
||||||
|
- get file sizes till a specified depth
|
||||||
|
|
||||||
|
`du --max-depth=1`
|
Loading…
Reference in New Issue