I sorted out Ubuntu's knowledge about the shutdown and restart commands for memo. Restart command: 1, reboot2, shutdown-rnow immediately restart (root user use) 3, shutdown-r10 over 10 minutes Automatic Restart (root user use) 4, shutdown-r20: 35 restart at (used by the root user) if the shutdown command is used to set the restart, you can use the shutdown-c command to cancel the restart and shutdown command:
I sorted out Ubuntu's knowledge about the shutdown and restart commands for memo.
Restart command:
1. reboot
2. shutdown-r now restarts immediately (used by the root user)
3. shutdown-r restarts automatically after 10 minutes (used by root users)
4. shutdown-r restart at (for root users)
If you use the shutdown command to set the restart, you can use the shutdown-c command to cancel the restart.
Shutdown command:
1. Shut down halt immediately
2. Power off immediately
3. shutdown-h now shut down immediately (used by the root user)
4. shutdown-h: shutdown automatically 10 minutes later
If you use the shutdown command to set shutdown, you can use the shutdown-c command to cancel the restart.