Linux清理缓存命令

sudo apt-get autoclean 清理旧版本的软件缓存

sudo apt-get clean 清理所有软件缓存

sudo apt-get autoremove --purge 删除系统不再使用的孤立软件

dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P purge 清除残余的配置文件

dpkg --get-selections|grep linux 查看所有内核

sudo apt-get remove --purge 卸载软件,同时删除软件配置文件

猜你喜欢

转载自blog.csdn.net/u013445609/article/details/79159066