Pages

Sunday, March 15, 2015

Remove all old kernels

$ sudo apt-get purge $(dpkg -l linux-{image,headers}-"[0-9]*" | awk '/ii/{print $2}' | grep -ve "$(uname -r | sed -r 's/-[a-z]+//')")


commandlinefu.com


by David Winterbottom (codeinthehole.com)






from All commands http://ift.tt/1EPXMta

No comments:

Post a Comment