示例:
systemctl get-default
查看默认运行级别
systemctl isolate runlevel3.target 启动运行等级 3
systemctl isolate runlevel5.target 图形界面
systemctl list-unit-files --type target | grep runleve 查看所有 type target
systemctl set-default graphical.target 设置默认启动到图形界面
systemctl set-default multi-user.target 设置默认启动到多用户字符界面
https://xpanx.com/
评论