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

推荐订阅源

S
Secure Thoughts
Security Latest
Security Latest
Simon Willison's Weblog
Simon Willison's Weblog
O
OpenAI News
GbyAI
GbyAI
L
LINUX DO - 最新话题
A
Arctic Wolf
T
Tor Project blog
G
GRAHAM CLULEY
I
InfoQ
博客园_首页
IT之家
IT之家
The Register - Security
The Register - Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
P
Proofpoint News Feed
The GitHub Blog
The GitHub Blog
Blog — PlanetScale
Blog — PlanetScale
N
Netflix TechBlog - Medium
K
Kaspersky official blog
博客园 - 三生石上(FineUI控件)
S
SegmentFault 最新的问题
U
Unit 42
PCI Perspectives
PCI Perspectives
量子位
P
Palo Alto Networks Blog
S
Securelist
T
Troy Hunt's Blog
博客园 - 【当耐特】
Recorded Future
Recorded Future
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
S
Security Affairs
Engineering at Meta
Engineering at Meta
T
The Blog of Author Tim Ferriss
博客园 - 聂微东
罗磊的独立博客
N
News and Events Feed by Topic
人人都是产品经理
人人都是产品经理
B
Blog RSS Feed
NISL@THU
NISL@THU
C
Cisco Blogs
T
Threatpost
有赞技术团队
有赞技术团队
Forbes - Security
Forbes - Security
Hugging Face - Blog
Hugging Face - Blog
Last Week in AI
Last Week in AI
T
The Exploit Database - CXSecurity.com
Cloudbric
Cloudbric
Cyberwarzone
Cyberwarzone
Google DeepMind News
Google DeepMind News
C
Cyber Attacks, Cyber Crime and Cyber Security

噜啦 - Linux笔记本

du和ls查看文件大小不同的原因 - 噜啦 进程的控制与进程之间的关系 - 噜啦 ps 和 top 命令查看进程 - 噜啦 Grub 配置文件介绍以及忘记root密码的解决方法 - 噜啦 CentOS 手动升级/安装内核 - 噜啦 网络管理和配置文件 - 噜啦 网络故障排除命令 - 噜啦 route 查看路由 - 噜啦 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

赞赏作者

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