一、管理服务器
#重启:
systemctl reboot
#挂起:
systemctl suspend
#关机
systemctl halt、systemctl poweroff
#休眠:
systemctl hibernate
#休眠并挂起:
systemctl hybrid-sleep
#强制进入救援状态(单用户状态)
systemctl rescue
#强制进入紧急救援模式
systemctl emergency
#将目前的操作环境改为纯文本模式,关掉图形界面
systemctl isolate multi-user.target
#将目前的操作环境改为图形界面
systemctl isolate graphical.target
二、管理服务
#启