Linux Disk Space Management

From Coder Merlin
Revision as of 21:17, 16 February 2019 by Chukwuemeka-tinashe (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Display Quota and Usage[edit]

quota -s

Check Disk Space Used within Current Directory[edit]

du -h -d1

Free Disk Space Used by Swift Package[edit]

swift package reset

Remove an Empty Directory[edit]

rmdir <directoryName>

Remove a Non-Empty Directory[edit]

Warning icon.svg Warning: Be ABSOLUTELY CERTAIN that you are deleting the correct directory. Once deleted, it is gone forever.
rm -rf <directoryName>


Designed with pride in Silicon Valley, CA, USA