Home » Posts tagged 'List all running services on ubuntu'
Tag Archives: List all running services on ubuntu
How to list services in Ubuntu 22.04 / 20.04 / 18.04 : Command guide
In this tutorial we are going to learn how to list services in Ubuntu 22 / Ubuntu 20 / Ubuntu 18 using the command line interface. We will see how we can list running services and services that are not running.
Ubuntu list all services systemctl, systemctl list all services, List running services in Ubuntu 22 / Ubuntu 20 / Ubuntu 18
Ubuntu: How do I list all of the services on my Ubuntu 22.04 or Ubuntu 20.04 or Ubuntu 18.04 system from the Linux command line / Terminal ? How to list running services on Ubuntu 22.04 / Ubuntu 20.04 ?
Answer: Use this command:
service --status-all
Here’s an example of what this looks like on an Ubuntu 18.04 LTS system:
The meaning of the Ubuntu service
command output
From the Ubuntu Linux service
man page:
service --status-all
runs all init scripts, in alphabetical order, with the status
command. The status is:
[ + ]
running services[ - ]
stopped services[ ? ]
services without a ‘status’ command
This option only calls status for sysvinit jobs; upstart jobs can be queried in a similar manner with initctl list
.
How to show the Ubuntu version
In a slightly-related note, you can show your Ubuntu version information with the lsb_release -a
command:
root> lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.5 LTS
Release: 20.04
Codename: focal
Also read :