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
[…] to the previous Linux–related entries we’ve had before, here’s a robust list of things about Linux that many of us should know. They’d […]