df -h
tells you about your devices’ storage usagedu -sh <directory>
gives you an idea how much space a directory is using- Logfiles are your friends, until one day they become your enemy and eat up all storage
- To truncate a file (remove contents), just use
>/var/log/log.file