mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-29 12:03:36 +03:00
new page for du
This commit is contained in:
parent
c46ea1c9bf
commit
58308e3b36
19
osx/du.md
Normal file
19
osx/du.md
Normal file
@ -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
Block a user