How to list services in Ubuntu 22.04

There are various services that run in the background of Ubuntu and consume the computer’s RAM even though they are not being used by the users. These services not only consume the machine’s battery but also affect the performance of the RAM as it is already busy with some other services.

This blog has discussed methods to list different types of services in Ubuntu.

How to list services in Ubuntu

There is a “systemctl” utility that can be used to list services on Ubuntu and manage them by stopping or starting those services. The general syntax for using the systemctl command is:

$ systemctl [OPTIONS] <ACTION>

The explanation of the general syntax for using the systemctl command:

  • Use the systemctl command
  • Use one of the systemctl options
  • Enter the action you want to take

We will understand its usage with some examples.

How to list all services on Ubuntu

To list all services running on Ubuntu, we use the –no-pager action with no options:

$ systemctl –no-pager

All services are shown with their service status as in the output above, 261 loaded services are listed.

How to list all unit files on Ubuntu Jammy Jellyfish

The unit files are the text files that contain information like boot target, socket, device name and a monitored file system path. These unit files can be viewed on screen by running the following command:

$ systemctl list-units –Everyone –Type= service –no-pager

177 loaded files are listed in the output of the command executed above.

How to list service status in Ubuntu 22.04

To only list the states of the services, whether they are enabled or disabled, even if they are in other states, we run the command:

$ systemctl list-unit files –no-pager

In the output above, you can see that the status of each service has been displayed.


The systemctl utility available by default in Ubuntu can be used to list services in Ubuntu 22.04 with the “systemctl –no-pager” command. Different types of options were used in this blog to list the services on Ubuntu 22.04.

Related Posts