purge-old-kernels(1) byobu purge-old-kernels(1)
purge-old-kernels - remove old kernel and header packages from the sys-
purge-old-kernels [--keep N] [*]
This program will remove old kernel and header packages from the sys-
tem, freeing disk space. It will never remove the currently running
kernel. By default, it will keep at least the latest 2 kernels, but
the user can override that value using the --keep parameter. Any addi-
tional parameters will be passed directly to apt-get(8).
This program requires administrative access.
sudo purge-old-kernels --keep 3 -qy
This manpage and the utility was written by Dustin Kirkland <kirk-
email@example.com> for Ubuntu systems (but may be used by others). Per-
mission is granted to copy, distribute and/or modify this document
under the terms of the GNU General Public License, Version 3 published
by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License
can be found in /usr/share/common-licenses/GPL, or on the web at
byobu 30 Apr 2012 purge-old-kernels(1)
Man Pages Copyright Respective Owners. Site Copyright (C) 1994 - 2021
All Rights Reserved.