One-liner: find installed orand running services
{ ps -ef; systemctl list-dependencies multi-user.target; yum list installed; } | grep -iE "avahi"
During hardening a system, I needed a quick way to check for the existence of a service. Voila, this oneliner.
Comments