Enumerate all services and running services on a Linux system using systemctl. These commands help identify active and inactive services, which is useful for configuration review and security assessment.
Command:systemctl list-units --type=service && systemctl list-units --type=service --state=running