Created
February 25, 2023 14:02
-
-
Save csrutil/2426716b68dd68ff37e8d446b0223bbe to your computer and use it in GitHub Desktop.
remove old kernels
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dpkg --list| grep 'pve-kernel-.*-pve' | awk '{print $2}' | sort -V | |
dpkg --list| grep 'linux-image' | awk '{print $2}' | sort -V | |
apt purge -y linux-image-5.10.0-19-amd64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment