new page for du

This commit is contained in:
Shrayas Rajagopal 2014-01-27 10:45:51 +05:30
parent c46ea1c9bf
commit 58308e3b36

19
osx/du.md Normal file
View 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`