mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-12 10:47:42 +00:00
Update cheatsheets
This commit is contained in:
21
tldr/linux/eclean-kernel
Normal file
21
tldr/linux/eclean-kernel
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user