Quick Clean Server Disk Usage Command in Safe Way Mar 25th, 2022 • Permalink SystemD journal clean journalctl --disk-usage sudo journalctl --vacuum-size=2000M # Delete log files until the disk space taken falls below the specified size: Or see further command Apt cache clean sudo apt-get clean Yum cache clean sudo yum clean all Yarn cache clean yarn cache clean --force Docker cache clean docker system df docker system prune -a original from stackoverflow