Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo apt purge $(dpkg-query -W -f'${Package}\n' 'linux-*' | sed -nr 's/.*-([0-9]+(\.[0-9]+){2}-[^-]+).*/\1 &/p' | sort -k 1,1V | awk '($1==c){exit} {print $2}' c=$(uname -r | cut -f1,2 -d-))
Add Comment
Please, Sign In to add comment