3.4 "Linux learning is not difficult" Linux character interface (4): Restart Linux system reboot command
Reboot's work is similar to halt, but reboot is causing the computer to restart, and halt is to cause the computer to shut down. Its options are similar to halt.
Command syntax:
Reboot [Options]
The meanings of the options in the command are as shown in the table.
Options |
option meaning |
- W |
not really rebooting the system, just writing to the/var/log/wtmp file |
- D |
Reboot The system without writing the records to /var/log/wtmp in the log file |
-F |
forced restart of system without calling shutdown |
Example: Restart the computer system using the reboot command.
[email protected] ~]# reboot
This article extracts from "Linux Learning is not difficult" textbook, which is one of the most practical, theoretical and practical Linux Introductory materials. To read the entire book, visit the Linux ops (www.linuxywz.com) website .
Linux learning is not difficult "Linux character interface (4): Reboot command to restart Linux system