linux启动服务

5,019 阅读1分钟

查看开机启动项

1:systemctl list-unit-files --type=service

2:systemctl list-unit-files --type=service | grep enabled

3:systemctl list-unit-files --type=service | grep disabled

img

开机停止某个服务:

1:sudo systemctl stop vsftpd.service 2:sudo systemctl disable vsftpd.service

img

开机启动某个服务

img

以上就是良许教程网为各位朋友分享的Linux相关知识。