早睡早起,方能养生!
Sleep early rise early, square can preserve one's health!

Linux查看开机启动项目

super
2021-03-01 18:27
views 372

 查看所有服务项目:

 systemctl list-unit-files

 

 可以看到项目非常多,摁回车键显示更多

 

 显示所有开机启动项:

 

 systemctl list-unit-files |grep enabled

 

 输出到文件中:

 

 systemctl list-unit-files|grep enabled|cat > ~/enabled_services.txt
 cd ~
 ls
 vi enabled_services.txt

 


分享
0 条讨论
top