当前位置:首页 >知识达人 > 正文

linux重启命令

2024-04-23 03:23:46

1、[root@localhost ~]# shutdown -r now,#重启, now是现在重启的意思

2、[root@localhost ~]# shutdown -r 05:30,#指定时间重启,但会占用前台终端

3、[root@localhost ~]# shutdown -r 05:30 &,#把定义重启命令放入后台,&是后台的意思

4、[root@localhost ~]# shutdown -c,//取消定时重启

5、[root@localhost ~]# shutdown -r +10,#10分钟之后重启

热门推荐