tldr/pages/linux/shutdown.md

20 lines
245 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}} &`
- Cancel a pending shutdown/reboot operation
2014-02-24 13:56:50 +00:00
`shutdown -c`