惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
D
Docker
Last Week in AI
Last Week in AI
WordPress大学
WordPress大学
月光博客
月光博客
小众软件
小众软件
量子位
V
Visual Studio Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
Tailwind CSS Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
罗磊的独立博客
博客园 - 叶小钗
美团技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 三生石上(FineUI控件)
博客园 - 聂微东
博客园 - 司徒正美
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - Franky
Hugging Face - Blog
Hugging Face - Blog
GbyAI
GbyAI
C
Check Point Blog

噜啦 - Linux笔记本

du和ls查看文件大小不同的原因 - 噜啦 du和ls查看文件大小不同的原因 - 噜啦 服务管理工具 systemctl - 噜啦 进程的控制与进程之间的关系 - 噜啦 进程的控制与进程之间的关系 - 噜啦 ps 和 top 命令查看进程 - 噜啦 ps 和 top 命令查看进程 - 噜啦 Grub 配置文件介绍以及忘记root密码的解决方法 - 噜啦 Grub 配置文件介绍以及忘记root密码的解决方法 - 噜啦 CentOS 手动升级/安装内核 - 噜啦 CentOS 手动升级/安装内核 - 噜啦 网络管理和配置文件 - 噜啦 网络管理和配置文件 - 噜啦 网络故障排除命令 - 噜啦 网络故障排除命令 - 噜啦 route 查看路由 - 噜啦 route 查看路由 - 噜啦 ifconfig 网络管理 - 噜啦 ifconfig 网络管理 - 噜啦
服务管理工具 systemctl - 噜啦
博主: 噜啦 · 2020-05-18 · via 噜啦 - Linux笔记本

查看服务级别

cd /lib/systemd/system
ls -l runlevel*.target

显示如下

lrwxrwxrwx 1 root root 15 Feb  5 12:32 runlevel0.target -> poweroff.target
lrwxrwxrwx 1 root root 13 Feb  5 12:32 runlevel1.target -> rescue.target
lrwxrwxrwx 1 root root 17 Feb  5 12:32 runlevel2.target -> multi-user.target
lrwxrwxrwx 1 root root 17 Feb  5 12:32 runlevel3.target -> multi-user.target
lrwxrwxrwx 1 root root 17 Feb  5 12:32 runlevel4.target -> multi-user.target
lrwxrwxrwx 1 root root 16 Feb  5 12:32 runlevel5.target -> graphical.target
lrwxrwxrwx 1 root root 13 Feb  5 12:32 runlevel6.target -> reboot.target

查看当前系统的运行级别
systemctl get-default

multi-user.target

设置下次重启后的启动级别
systemctl set-default graphical.target

赞赏作者

如果觉得我的文章对你有用,请随意赞赏