歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> reboot命令--Linux命令應用大詞典729個命令解讀

reboot命令--Linux命令應用大詞典729個命令解讀

日期:2017/3/3 16:54:12   编辑:關於Linux

reboot命令--Linux命令應用大詞典729個命令解讀。

講述729個命令,1935個例子

學習Linux系統的參考書、案頭書,遇到不懂的命令或命令選項一查即可

reboot命令

使用reboot命令可以重啟Linux系統。

命令語法:

reboot [選項]

命令中各選項的含義如表所示。

表 reboot命令選項含義

選項

含義

-w

並不是真正的重啟系統,只是寫入到/var/log/wtmp文件中

-d

重啟系統,不把記錄寫到 /var/log/wtmp日志文件中

-i

重啟計算機前關閉網絡

-f

沒有調用shutdown而強制重新啟動系統

例:重啟計算機系統。

[root@rhel ~]# reboot

Broadcast message from root@rhel

(/dev/pts/1) at 1:21 ...

The system is going down for reboot NOW!

Copyright © Linux教程網 All Rights Reserved