tldr/pages/linux/shutdown.md

24 lines
312 B
Markdown
Raw Normal View History

# shutdown
> Shutdown and reboot the system.
- Power off (halt) immediately:
`shutdown -h now`
- Reboot immediately:
2014-02-26 01:55:35 +04:00
`shutdown -r now`
- Reboot in 5 minutes:
2014-02-26 01:55:35 +04:00
`shutdown -r +{{5}} &`
- Shutdown at 1:00 pm (Uses 24h clock):
`shutdown -h 13:00`
- Cancel a pending shutdown/reboot operation:
2014-02-24 17:56:50 +04:00
`shutdown -c`