You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
638 B

6 years ago
# **reboot**
6 years ago
5 years ago
```bash
6 years ago
-d --no-wtmp 重新开机时不把数据写入记录文件/var/tmp/wtmp本参数具有“-n”参数效果
--no-wall 在halt/power-off/reboot之前不发送wall信息
5 years ago
-f --force 强制立即重新开机不调用shutdown指令的功能
6 years ago
-n --no-sync 重开机之前不同步hard disks/storage media(检查是否有未结束的程序)
5 years ago
-w --wtmp-only 仅做测试,并不真正将系统重新开机,只会把重开机的数据写入/var/log目录下的wtmp记录文件
6 years ago
```
5 years ago
## 实例
6 years ago
5 years ago
```bash
5 years ago
reboot //重开机
reboot -w //做个重开机的模拟(只有纪录并不会真的重开机)
6 years ago
```