2020-10-07 08:26:39 +01:00
|
|
|
# shutdown
|
|
|
|
|
2023-12-31 12:56:17 +00:00
|
|
|
> Apaga y reinicia el sistema.
|
2021-10-02 16:32:03 +01:00
|
|
|
> Más información: <https://manned.org/shutdown.8>.
|
2020-10-07 08:26:39 +01:00
|
|
|
|
2023-12-31 12:56:17 +00:00
|
|
|
- Apaga ([h]alt) inmediatamente:
|
2020-10-07 08:26:39 +01:00
|
|
|
|
|
|
|
`shutdown -h now`
|
|
|
|
|
2023-12-31 12:56:17 +00:00
|
|
|
- [r]einicia inmediatamente:
|
2020-10-07 08:26:39 +01:00
|
|
|
|
|
|
|
`shutdown -r now`
|
|
|
|
|
2023-12-31 12:56:17 +00:00
|
|
|
- [r]einicia en 5 minutos:
|
2020-10-07 08:26:39 +01:00
|
|
|
|
|
|
|
`shutdown -r +{{5}} &`
|
|
|
|
|
2023-12-31 12:56:17 +00:00
|
|
|
- Apaga a las 01:00 pm (Usa el reloj de 24[h]):
|
2020-10-07 08:26:39 +01:00
|
|
|
|
|
|
|
`shutdown -h 13:00`
|
|
|
|
|
2023-12-31 12:56:17 +00:00
|
|
|
- [c]ancela una operación pendiente de apagado/reinicio:
|
2020-10-07 08:26:39 +01:00
|
|
|
|
|
|
|
`shutdown -c`
|