[下一頁][首頁][上一頁]

我如何在單使用者模式下停止系統?

NAME
     shutdown - 在指定的時間關閉電腦
SYNOPSIS
     shutdown time [warning-message]
DESCRIPTION
     shutdown 提供 super-users 自動關閉的程序,並且在停止時善意地通知使用者。

     time  time 指 shutdown 停止系統的時間,也可以使用 now 這個字 (表示馬上停止)。

     warning-message
     任何其它參數所組成的警告訊息將廣播目前系統中的使用者。
要停止系統至單使用者模式,可啟動 "shutdown" 指令且不須任何參數,接著鍵入 root 密碼。
注意: 單使用者狀態通常為了某種特別操做,像是重新編輯 kernel 或建立整個系統。
 
範例:
# shutdown now ...等待到您看到...
Shutdown NOW!
shutdown: [pid 27087]

*** FINAL System shutdown message from elvis@elvis.org ***

System going down IMMEDIATELY




Nov 22 16:59:28 elvis shutdown: shutdown by elvis:

System shutdown time has arrived
Nov 22 16:59:30 elvis syslogd: exiting on signal 15
Enter root password, or ^D to go multi-user
Password: ...不回應...
Enter full pathname of shell or RETURN for /bin/sh: ...Enter...
erase ^H, kill ^U, intr ^C
# _
[上一頁][首頁][下一頁]