Difference between revisions of "Systemctl"

From wikieduonline
Jump to navigation Jump to search
Line 29: Line 29:
 
* <code>[[systemctl enable]] FS_UNIT_NAME.mount</code>
 
* <code>[[systemctl enable]] FS_UNIT_NAME.mount</code>
 
* <code> sudo [[systemctl enable]] --now [[snap]]d.socket</code>
 
* <code> sudo [[systemctl enable]] --now [[snap]]d.socket</code>
* <code>systemctl disable SERVICE_NAME</code>
+
* <code>[[systemctl disable]] SERVICE_NAME</code>
 
* <code>[[systemctl --type swap]]</code>
 
* <code>[[systemctl --type swap]]</code>
 
* <code>[[systemctl daemon-reload]]</code>
 
* <code>[[systemctl daemon-reload]]</code>

Revision as of 15:09, 29 November 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: