Shutdown
Timed Shutdown
For example, if you want to shut down at, enter at shutdown-S
, The system will prompt 30 seconds in advance, and then turn yourself off.
At shutdown-s countdown Shutdown
Shutdown.exe-S-T 10 the system shuts down after 10 seconds to cancel Automatic shutdown:
Enter the shutdown-a shutdown parameter description in start-> run:
[-T]
Before changing to another runlevel, tell init how long it will take to shut down.
[-S] disable this computer
[-R] restart the calculator.
[-K] does not actually shut down, but sends a warning signal to each consumer [Login 〕.
[-H] power off after Shutdown [halt 〕.
[-N]
You don't need to use init, but shut down it yourself. You are not encouraged to use this option, and the consequences of this option are not always what you expected.
[-C] cancel current
Process cancels the currently running Shutdown program. Therefore, this option certainly does not have a time parameter, but you can enter a message for explanation, and this information will be sent to each user.
[-F]
Ignore fsck when restarting calculator [reboot.
[-F]
Force fsck when restarting calculator [reboot.
[-Time]
Set the time before shutdown.
2. Halt ---- the simplest shutdown command in fact, halt is to call Shutdown
-H. When halt is executed, the application process is killed and the sync system call is executed. After the file system write operation is completed, the kernel is stopped.
Parameter description:
[-N] prevents the sync system from calling. It is used to fix the root partition with fsck to prevent the kernel from overwriting the repaired super block with the old version of superblock.
[-W]
It is not a real restart or shutdown, but a record for wtmp (/var/log/wtmp.
[-D]
Do not write the wtmp record (included in Option [-N 〕.
[-F]
Force shutdown or restart without calling shutdown.
[-I] disable all network interfaces before shutting down (or restarting.
[-P] this option is the default option. It is called poweroff when shutdown.