This commit is contained in:
fofolee
2019-04-08 23:22:26 +08:00
commit 7ca94f1141
5960 changed files with 530244 additions and 0 deletions

16
docs/linux/reboot.html Normal file
View File

@@ -0,0 +1,16 @@
<h1 id="reboot">reboot</h1>
<p>重新启动正在运行的Linux操作系统</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>reboot命令</strong> 用来重新启动正在运行的Linux操作系统。</p>
<h3 id="语法">语法</h3>
<pre><code>reboot(选项)</code></pre>
<h3 id="选项">选项</h3>
<pre><code>-d重新开机时不把数据写入记录文件/var/tmp/wtmp。本参数具有“-n”参数效果
-f强制重新开机不调用shutdown指令的功能
-i在重开机之前先关闭所有网络界面
-n重开机之前不检查是否有未结束的程序
-w仅做测试并不真正将系统重新开机只会把重开机的数据写入/var/log目录下的wtmp记录文件。</code></pre>
<h3 id="实例">实例</h3>
<pre><code>reboot //重开机。
reboot -w //做个重开机的模拟(只有纪录并不会真的重开机)。</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->