关机:(系统的关机、重启以及登出 )
# 关闭系统(1)
[root@localhost ~]# shutdown -h now
# 关闭系统(2)
[root@localhost ~]# init 0
# 关闭系统(3)
[root@localhost ~]# telinit 0
# 按预定时间关闭系统
[root@localhost ~]# shutdown -h hours:minutes
# 取消按预定时间关闭系统
[root@localhost ~]# shutdown -c
# 重启(1)
[root@localhost ~]# shutdown -r now
# 重启(2)
[root@localhost ~]# reboot
# 注销
[root@localhost ~]# logout