1.shutdown命令
[root@localhost ~]# shutdown [选项] 时间
选项:
-c:取消前一个关机命令
-h:关机
-r:重启
2.其他关机命令
[root@localhost ~]# halt
[root@localhost ~]# poweroff
[root@localhost ~]# init 0
尽量是用shutdown
3.其他重启命令
[root@localhost ~]# reboot
[root@localhost ~]# init 6
尽量使用shutdown
4.系统运行级别
0:关机
1:单用户
2:不完全多用户,不含NFS服务
3:完全多用户
4:未分配
5:图形界面
6:重启
5.退出登录命令
[root@localhost ~]# logout