tldr/pages/linux/shutdown.md

24 lines
306 B
Markdown
Raw Normal View History

# shutdown
> Shutdown and reboot the system
2014-02-25 21:55:35 +00:00
- Power off (halt) immediately
`shutdown -h now`
2014-02-25 21:55:35 +00:00
- Reboot immediately
`shutdown -r now`
- Reboot in 5 minutes
2014-02-25 21:55:35 +00: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 13:56:50 +00:00
`shutdown -c`