Linux reboot command

This command is used to restart the Linux operating system is running.

grammar

reboot (option)

Options

-d: not write record file data / var / tmp / wtmp on reboot. This parameter has a "-n" effect parameter; 
-f: forced reboot, do not call shutdown instruction function; 
-i: before rebooting, close all the network interfaces; 
-n: not before checking whether a reboot is not completed program; 
-w : do only testing the system does not actually reboot, reboot will only write wtmp record data files in / var / log directory.

Examples

reboot -w // to be a reboot of the simulation (only the record does not really reboot). 
reboot reboot //

Guess you like

Origin www.cnblogs.com/frankzdcx/p/12508467.html