国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統 > Linux > 正文

Linux命令學習總結:詳解reboot命令

2019-11-02 16:36:54
字體:
來源:轉載
供稿:網友

命令簡介: 

該命令用來重啟Linux系統。相當于Windows系統中的restart命令。

命令語法:

/sbin/reboot [-n] [-w] [-d] [-f] [-i]

reboot [-n] [-w] [-d] [-f] [-i]

命令參數:

參數

長參數

描敘

-d

重新啟動時不把數據寫入記錄文件/var/tmp/wtmp

-f

強制重新開機,不調用shutdown指令的功能。

-h

在系統關機或poweroff之前,將所有的硬盤處于待機模式

-i

關閉網絡設置之后再重新啟動系統

-n

保存數據后再重新啟動系統

-p

When halting the system, do a poweroff. This is the default when halt is called as poweroff

-w

僅做測試,并不真的將系統重新開機,只會把重開機的數據寫入/var/log目錄下的wtmp記錄文件

--help

顯示命令在線幫助

使用示例:

1: 查看reboot命令的幫助信息

[root@DB-Server ~]# reboot --helpusage: reboot [-n] [-w] [-d] [-f] [-h] [-i]    -n: don't sync before halting the system    -w: only write a wtmp reboot record and exit.    -d: don't write a wtmp record.    -f: force halt/reboot, don't call shutdown.    -h: put harddisks in standby mode.    -i: shut down all network interfaces.

[root@DB-Server ~]# man reboot

[root@DB-Server ~]# man rebootHALT(8)        Linux System Administrator

主站蜘蛛池模板:
清水县|
闽清县|
特克斯县|
茌平县|
南城县|
灵山县|
武义县|
新昌县|
稻城县|
龙陵县|
濮阳县|
江津市|
海城市|
囊谦县|
樟树市|
克拉玛依市|
佳木斯市|
轮台县|
淮北市|
襄樊市|
高雄县|
泰州市|
平阴县|
新田县|
苍梧县|
白水县|
宜宾市|
剑河县|
清丰县|
无锡市|
馆陶县|
汉中市|
东宁县|
云林县|
上杭县|
昌邑市|
疏附县|
平南县|
芜湖市|
和龙市|
砀山县|