Disk
- Usage
du -sh $folder
d
is disku
is usage-s, --summarize
-h, --human-readable
- Find which sub-folder takes up how much disk
du -h --max-depth=1 | sort -hr
- Find all folders' size
du -sh .[!.]* *
- Find free space
df -h $folder
du -sh $folder
d
is disku
is usage-s, --summarize
-h, --human-readable
du -h --max-depth=1 | sort -hr
du -sh .[!.]* *
df -h $folder