Diferencia entre revisiones de «Ubuntu»
De TechShareRoom wiki
Sin resumen de edición |
Sin resumen de edición |
||
Línea 1: | Línea 1: | ||
== Comandos == | == Comandos == | ||
*Actualizar a versión superior del sistema | *Actualizar a versión superior del sistema | ||
<syntaxhighlight lang="bash "> | |||
do-release-upgrade | |||
</syntaxhighlight> | |||
== Mantenimiento == | == Mantenimiento == | ||
Línea 13: | Línea 15: | ||
**Instalar con: | **Instalar con: | ||
<syntaxhighlight lang="bash "> | |||
sh -c 'cd /tmp && wget -N https://git.launchpad.net/linux-purge/plain/install-linux-purge.sh && chmod +x ./install-linux-purge.sh && sudo ./install-linux-purge.sh && rm ./install-linux-purge.sh' && [ "$BASH" ] && echo Replaced current shell in order to make the Bash completion work && exec bash | sh -c 'cd /tmp && wget -N https://git.launchpad.net/linux-purge/plain/install-linux-purge.sh && chmod +x ./install-linux-purge.sh && sudo ./install-linux-purge.sh && rm ./install-linux-purge.sh' && [ "$BASH" ] && echo Replaced current shell in order to make the Bash completion work && exec bash | ||
apt install dialog | apt install dialog | ||
</ | </syntaxhighlight> | ||
Para saber los kernel que hay instalados: | Para saber los kernel que hay instalados: | ||
<syntaxhighlight lang="bash "> | |||
dpkg --list | grep linux-image | dpkg --list | grep linux-image | ||
</ | </syntaxhighlight> | ||
Then run this in terminal, use "sudo" if proceed in your case: | Then run this in terminal, use "sudo" if proceed in your case: | ||
<syntaxhighlight lang="bash "> | |||
linux-purge --clear-boot | linux-purge --clear-boot | ||
</ | </syntaxhighlight> | ||
Then go on removing kernels by e.g. | Then go on removing kernels by e.g. | ||
<syntaxhighlight lang="bash "> | |||
linux-purge --keep 1 --choose | linux-purge --keep 1 --choose | ||
</ | </syntaxhighlight> |