Зайчик пише

Tips, tricks, cheatsheets


Project maintained by iamzaychik Hosted on GitHub Pages — Theme by mattgraham

CentOS Running services

2019-04-15


The syntax is as follows for CentOS/RHEL 6.x and older (pre systemd):

service --status-all
service --status-all | more
service --status-all | grep ntpd
service --status-all | less

The syntax is as follows for CentOS/RHEL 7.x+:

systemctl
systemctl | more
systemctl | grep httpd
systemctl list-units --type service
systemctl list-units --type mount