List all services Linux

In this short post, we will learn to use a command to list all services from Linux operating system. The command we are going to discuss here should work other operating systems like Mac and Unix.

If the services are inside /etc/init.d/ then we can use the command below:

service --status-all

If the service is a systemd unit, then they can be listed with the command below:

systemctl list--units

If you want to see currently active units then the command for all known units will be:

systemctl -a list-units


In this short post, we learn to list the services available in Linux operating system.

Leave a Reply

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x