How to list all Linux services in CentOS

To get SysV services run:

chkconfig --list

This will print the following to the screen:

Note: This output shows SysV services only and does not include native
      systemd services. SysV configuration data might be overridden by native
      systemd configuration.

      If you want to list systemd services use 'systemctl list-unit-files'.
      To see services enabled on particular target use
      'systemctl list-dependencies [target]'.

mysql           0:off   1:off   2:on    3:on    4:on    5:on    6:off
netconsole      0:off   1:off   2:off   3:off   4:off   5:off   6:off
network         0:off   1:off   2:on    3:on    4:on    5:on    6:off

To list native systemd services run the following command:

systemctl list-units

This will return:

  UNIT                                                                    LOAD   ACTIVE SUB       DESCRIPTION
  proc-sys-fs-binfmt_misc.automount                                       loaded active waiting   Arbitrary Executable File Formats File System Automount Point
  sys-devices-pci0000:00-0000:00:04.0-nvme-nvme0-nvme0n1-nvme0n1p1.device loaded active plugged   /sys/devices/pci0000:00/0000:00:04.0/nvme/nvme0/nvme0n1/nvme0n1p1
  sys-devices-pci0000:00-0000:00:04.0-nvme-nvme0-nvme0n1.device           loaded active plugged   /sys/devices/pci0000:00/0000:00:04.0/nvme/nvme0/nvme0n1
  sys-devices-pci0000:00-0000:00:05.0-net-ens5.device                     loaded active plugged   Elastic Network Adapter (ENA)
  sys-devices-platform-serial8250-tty-ttyS1.device                        loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS1
  sys-devices-platform-serial8250-tty-ttyS2.device                        loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS2
  sys-devices-platform-serial8250-tty-ttyS3.device                        loaded active plugged   /sys/devices/platform/serial8250/tty/ttyS3
  sys-devices-pnp0-00:04-tty-ttyS0.device                                 loaded active plugged   /sys/devices/pnp0/00:04/tty/ttyS0
  sys-module-configfs.device                                              loaded active plugged   /sys/module/configfs
  sys-subsystem-net-devices-ens5.device                                   loaded active plugged   Elastic Network Adapter (ENA)
  -.mount                                                                 loaded active mounted   /
  dev-hugepages.mount                                                     loaded active mounted   Huge Pages File System
  dev-mqueue.mount                                                        loaded active mounted   POSIX Message Queue File System
  run-user-0.mount                                                        loaded active mounted   /run/user/0
  sys-kernel-config.mount                                                 loaded active mounted   Configuration File System
  sys-kernel-debug.mount                                                  loaded active mounted   Debug File System
  var-lib-nfs-rpc_pipefs.mount                                            loaded active mounted   RPC Pipe File System
  var-www-clients-client2-web16-log.mount                                 loaded active mounted   /var/www/clients/client2/web16/log
  var-www-clients-client2-web17-log.mount                                 loaded active mounted   /var/www/clients/client2/web17/log
  brandbot.path                                                           loaded active waiting   Flexible branding
  systemd-ask-password-console.path                                       loaded active waiting   Dispatch Password Requests to Console Directory Watch
  systemd-ask-password-wall.path                                          loaded active waiting   Forward Password Requests to Wall Directory Watch
  session-10220.scope                                                     loaded active running   Session 10220 of user root
  session-9802.scope                                                      loaded active abandoned Session 9802 of user root
  session-9807.scope                                                      loaded active running   Session 9807 of user root
  amavisd.service                                                         loaded active running   Amavisd-new is an interface between MTA and content checkers.
  auditd.service                                                          loaded active running   Security Auditing Service
  chronyd.service                                                         loaded active running   NTP client/server
  clamd@amavisd.service                                                   loaded active running   clamd scanner (amavisd) daemon

To stop and disable a systemd service run the following command:

systemctl disable 'name.service'; systemctl stop 'name.service';