[root@localhost ~]# shutdown -r now,#重启, now是现在重启的意思,下面我们就来聊聊关于linux重启命令?接下来我们就一起去了解一下吧!
linux重启命令
[root@localhost ~]# shutdown -r now,#重启, now是现在重启的意思
[root@localhost ~]# shutdown -r 05:30,#指定时间重启,但会占用前台终端
[root@localhost ~]# shutdown -r 05:30 &,#把定义重启命令放入后台,&是后台的意思
[root@localhost ~]# shutdown -c,//取消定时重启
[root@localhost ~]# shutdown -r +10,#10分钟之后重启