I want to list services currently installed in an ubuntu box. Also want to list the status of the listed services. Thanks.
There are a lot of ways to list services in a Linux or Ubuntu system. But If you also want to list services status "systemctl list-units" will work for your case perfectly. Ref: https://www.poftut.com/start-stop-get-status-linux-service-systemd/