mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

* added eclean-kernel page * Update pages/linux/eclean-kernel.md Co-authored-by: Wiktor Perskawiec <git@spageektti.cc> * Update pages/linux/eclean-kernel.md Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> * Update pages/linux/eclean-kernel.md Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> * Update pages/linux/eclean-kernel.md Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> * Update pages/linux/eclean-kernel.md Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> * fixed typo * Update pages/linux/eclean-kernel.md Co-authored-by: Wiktor Perskawiec <git@spageektti.cc> --------- Co-authored-by: Wiktor Perskawiec <git@spageektti.cc> Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
16 lines
432 B
Markdown
16 lines
432 B
Markdown
# eclean-kernel
|
|
|
|
> Remove old kernels in Gentoo.
|
|
> More information: <https://wiki.gentoo.org/wiki/Kernel/Removal#Using_eclean-kernel>.
|
|
|
|
- List all kernel files:
|
|
|
|
`sudo eclean-kernel {{[-l|--list-kernels]}}`
|
|
|
|
- Remove all kernels except for the two newest ones:
|
|
|
|
`sudo eclean-kernel {{[-n|--num]}} 2`
|
|
|
|
- Remove all kernels except for the two newest ones and ask before removal:
|
|
|
|
`sudo eclean-kernel {{[-a|--all]}} {{[-n|--num]}} 2`
|