- 论坛徽章:
- 0
|
halt
halt [options]
System administration command: turns off the computer. Insert a note in the file /var/log/wtmp; if the system is in runlevel 0 or 6, stop all processes; otherwise, call shutdown -h.
Options
-d
Suppress writing to /var/log/wtmp.
-f
Call halt even when shutdown -nf would normally be called (i.e., force a call to halt, even when not in runlevel 0 or 6).
-h
Place hard drives in standby mode before halt or power off.
-i
Shut down network interfaces before halt.
-n
No sync before reboot or halt.
-p
Perform power-off when halting system.
-n
Suppress normal call to sync.
-w
Suppress normal execution; simply write to /var/log/wtmp.
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/22178/showart_154711.html |
|