Files
cheatsheet-tldr/tldr/linux/shutdown
2025-03-14 00:18:08 +00:00

30 lines
497 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# shutdown
> Shutdown and reboot the system.
> More information: <https://manned.org/shutdown.8>.
- Power off ([h]alt) immediately:
`shutdown -h now`
- [r]eboot immediately:
`shutdown {{[-r|--reboot]}} now`
- [r]eboot in 5 minutes:
`shutdown {{[-r|--reboot]}} +{{5}} &`
- Shutdown at 1:00 pm (Uses 24[h] clock):
`shutdown -h 13:00`
- [c]ancel a pending shutdown/reboot operation:
`shutdown -c`