ubuntu16.4系统和Gentos6.8系统查看开机自启动服务

ubuntu16.4系统查看自启服务:

需要自行安装一个sysv-rc-conf的工具来查看:

sudo apt-get install sysv-rc-conf

查看自启命令:

sudo sysv-rc-conf 

Gentos6.8系统查看自启服务:(注意这个只是查看用RPM包安装的默认的独立服务)

chkconfig --list

查看基于Xinetd的服务:

需要安装Xinetd:

yum -y install xinetd

猜你喜欢

转载自www.cnblogs.com/aqicheng/p/10106768.html