查看开机启动项

centos6 chkconfig --list | grep 

centos7 systemctl list-unit-files | grep   enabled是开机启动,disabled是开机不启动

原文地址:https://www.cnblogs.com/fpcbk/p/13327022.html