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.

Have you tried: sudo service --status-all. Good luck.

Posting Running Services Under SystemD in Linux
To list all stacked administrations on your framework (regardless of whether dynamic; running, left or fizzled, utilize the rundown units subcommand and - type switch with an estimation of administration.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.