To get a list of the installed services on the shell, you may use this command (on Fedora, RedHat, CentOS, SuSE, and Mandriva):
chkconfig --list
To get a list of the installed services on the shell, you may use this command (on Fedora, RedHat, CentOS, SuSE, and Mandriva):
chkconfig --list
service --status-all
covers what (obsolescent) chkconfig doesn't
This is also not working.
I am getting .....
-ksh: service: not found [No such file or directory]
Your probably on Ubuntu
Try (Centos 7+, Debian 8+, Ubuntu 15+):
systemctl list-unit-files --type=service
Or (Ubuntu 9 -> 14):
initctl list
with no mention of which release (eg centos5, centos6, centos7) or even any date on the page, this is absolutely useless