Difference between revisions of "Systemctl"

From wikieduonline
Jump to navigation Jump to search
Line 15: Line 15:
 
** <code>[[systemctl list-unit-files]] --state=enabled</code>
 
** <code>[[systemctl list-unit-files]] --state=enabled</code>
 
* List services enabled: <code>systemctl list-unit-files --state=enabled</code>
 
* List services enabled: <code>systemctl list-unit-files --state=enabled</code>
* View status of a service: <code>systemctl status [[devOps/Docker|docker]]</code>
 
 
* Show properties: <code>systemctl show sshd.service</code>
 
* Show properties: <code>systemctl show sshd.service</code>
 
* View dependencies: <code>systemctl list-dependencies sshd.service</code>
 
* View dependencies: <code>systemctl list-dependencies sshd.service</code>

Revision as of 14:00, 14 January 2020

systemctl command is used to control the systemd system and service manager.[1]

Basic Usage

Activities

Basic

Advanced

See also

  • https://www.freedesktop.org/software/systemd/man/systemctl.html
  • https://www.linuxtrainingacademy.com/systemd-cheat-sheet/
  • https://wiki.ubuntu.com/DebuggingSystemd
  • Advertising: