# 查看当前系统启动模式
systemctl get-default
# 修改默认启动模式为 命令行界面模式
systemctl set-default multi-user.target
# 修改默认启动模式为 图形化界面模式
systemctl set-default graphical.target
【Linux】默认启动命令行界面
于 2024-07-29 16:39:02 首次发布
# 查看当前系统启动模式
systemctl get-default
# 修改默认启动模式为 命令行界面模式
systemctl set-default multi-user.target
# 修改默认启动模式为 图形化界面模式
systemctl set-default graphical.target