Remove old linux kernel versions (package-cleanup)
package-cleanup --oldkernels --count=5
Removes all but the 5 most recent kernel versions using package-cleanup --oldkernels --count=5 to free up disk space.
package-cleanup --oldkernels --count=5
Removes all but the 5 most recent kernel versions using package-cleanup --oldkernels --count=5 to free up disk space.