2026-03-12 21:01:38
This commit is contained in:
6
divers/linux_remove_old_kernel_01.txt
Normal file
6
divers/linux_remove_old_kernel_01.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
# remove old kernel from /boot
|
||||
# https://community.fortinet.com/t5/FortiSOAR-Knowledge-Base/Technical-Tip-Clean-up-boot-in-CentOS-RHEL-or-Rocky-Linux-8-and/ta-p/257565
|
||||
|
||||
uname -sr
|
||||
rpm -q kernel
|
||||
dnf remove --oldinstallonly --setopt installonly_limit=2 kernel
|
||||
Reference in New Issue
Block a user