当前位置: 技术问答>linux和unix
linux咋关不了机?
来源: 互联网 发布时间:2015-05-08
本文导语: 各位DX,我用的是red hat linux 9,用ROOT帐户输入shutdown now,在正常关闭一系列进程后出现如下语句: Loading Keymap [OK] Loading System font: [OK] Telling INIT to go to single user mode. INIT: Going single...
各位DX,我用的是red hat linux 9,用ROOT帐户输入shutdown now,在正常关闭一系列进程后出现如下语句:
Loading Keymap [OK]
Loading System font: [OK]
Telling INIT to go to single user mode.
INIT: Going single user
INIT: Sending processes the TERM signal
INIT: Sending processes the KILL signal
Sh-2.05b#
尔后光标在#后闪烁,如再次键入shutdown now会出现如下语句:
Switching to runlevel 1
INIT: Sending processes the TERM signal
INIT: Sending processes the KILL signal
然后又是最上面的那些信息。
请问这时是不是在和Single模式下的shell对话?
如何才能在root帐户下用shutdown now直接关闭系统?
多谢!
Loading Keymap [OK]
Loading System font: [OK]
Telling INIT to go to single user mode.
INIT: Going single user
INIT: Sending processes the TERM signal
INIT: Sending processes the KILL signal
Sh-2.05b#
尔后光标在#后闪烁,如再次键入shutdown now会出现如下语句:
Switching to runlevel 1
INIT: Sending processes the TERM signal
INIT: Sending processes the KILL signal
然后又是最上面的那些信息。
请问这时是不是在和Single模式下的shell对话?
如何才能在root帐户下用shutdown now直接关闭系统?
多谢!
|
你应该用poweroff
|
用halt -p试一下
|
你的shutdown now怎么到运行态1了?
最方便的关机命令是: init 0
最方便的关机命令是: init 0
|
写错了,是shutdown -h now
|
我想你认为的关机肯定是关电原 POWEROFF
|
halt -p
shutdown -h now
shutdown -h now