1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-07 01:33:06 +02:00

eclean-kernel: add page (#16202)

* 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>
This commit is contained in:
Dainis 2025-04-20 03:09:40 +03:00 committed by GitHub
parent 3abe273c94
commit e698b8ba46
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,16 @@
# 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`