[HDGEM] How to list running services on Linux

To list systemd services on CentOS/RHEL 7.x+ use

The syntax is:
systemctl
systemctl | more
systemctl | grep httpd
systemctl list-units --type service
systemctl list-units --type mount

To list all services:
systemctl list-unit-files

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

service --status-all





--
Posted By Blogger to HDGEM at 5/17/2017 08:19:00 AM
Post a Comment

Featured Post

Updated Coupons / promo codes for Google Apps for Work / Business

To redeem: 1. Sign up for Google Apps   2. Go to your billing settings  3. Choose your payment plan  4. Enter your promo code ...