mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-21 15:51:05 +00:00
Update cheatsheets
This commit is contained in:
29
linux/shutdown
Normal file
29
linux/shutdown
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
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 now`
|
||||
|
||||
- [r]eboot in 5 minutes:
|
||||
|
||||
`shutdown -r +{{5}} &`
|
||||
|
||||
- Shutdown at 1:00 pm (Uses 24[h] clock):
|
||||
|
||||
`shutdown -h 13:00`
|
||||
|
||||
- [c]ancel a pending shutdown/reboot operation:
|
||||
|
||||
`shutdown -c`
|
||||
Reference in New Issue
Block a user