ubuntu清理垃圾命令

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/yj1499945/article/details/90676428

sudo apt-get autoclean

sudo apt-get clean

sudo apt-get autoremove

dpkg --get-selections|grep linux//寻找多余的内核包

dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P//清理配置

猜你喜欢

转载自blog.csdn.net/yj1499945/article/details/90676428