在Ubuntu系统中,清理缓存是保持系统高效运行的重要步骤。以下是一些常用的方法来清理系统缓存:
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get autoremove
sudo apt-get autoremove --purge
journalctl --disk-usage
sudo journalctl --vacuum-time=1w
sudo journalctl --vacuum-size=500M
sudo rm -rf /tmp/*
ls /.firefox/cache
about:cache
,然后点击"清除缓存"按钮