How to List All Services in Ubuntu Using Command-line

Listing services in Ubuntu or any other Linux system allows you to check whether necessary services are running correctly or not. In Ubuntu you can easily list installed all running and non running services using service and systemctl command.

Method 1 : List Services Using systemctl Command

Open the terminal app using (ctrl+alt+t) shortcut or via the Show Apps and run below command to list all Ubuntu installed services.

systemctl list-units --type=service --all

List Services Using systemctl

List only the running services with systemctl command.

systemctl list-units --type=service --state=running

running services with systemctl

Method 2 : List Services Using Service Command

Open the terminal application (ctrl+alt+t) and run below command to list all Ubuntu Linux installed services.

service --status-all

List All Services

List only the running services:

service --status-all | grep '\[ + \]'

List only the running services

List services that are not running:

service --status-all | grep '\[ - \]'

List services that are not running

If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on X (Twitter) and Facebook.



Also Read:  How to Manage Gnome Extensions with Extensions Glass Grid

Leave a Reply