Difference between revisions of "Systemctl"

From wikieduonline
Jump to navigation Jump to search
Line 14: Line 14:
 
* <code>[[systemctl cat]] SERVICE_NAME</code> or  <code>[[systemctl cat]] SERVICE_NAME.service</code>
 
* <code>[[systemctl cat]] SERVICE_NAME</code> or  <code>[[systemctl cat]] SERVICE_NAME.service</code>
 
* <code>[[systemctl list-timers]]</code>
 
* <code>[[systemctl list-timers]]</code>
* <code>systemctl list-units</code>
+
* <code>[[systemctl list-units]]</code>
 
** <code>systemctl list-units --all</code>
 
** <code>systemctl list-units --all</code>
 
** <code>systemctl list-units --failed</code>
 
** <code>systemctl list-units --failed</code>

Revision as of 06:45, 17 December 2020

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

Services configuration directory:

/etc/systemd/system/
    sshd.service


Basic Usage

Activities

Basic

Advanced


Related terms

See also

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