HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

systemctl stop — Stop systemd units. More information: <https://www.freedesktop.org/software/systemd/man/latest/syste

Submitted by: @import:tldr-pages··
0
Viewed 0 times
systemdcommandsystemctl stopclimoreinformationunitsstop
linux

Problem

How to use the systemctl stop command: Stop systemd units. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#stop%20PATTERN%E2%80%A6>.

Solution

systemctl stop — Stop systemd units. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#stop%20PATTERN%E2%80%A6>.

Stop a unit:
systemctl stop {{unit}}


Stop a service and suppress warnings:
systemctl stop {{unit}} --no-warn


Stop a user unit:
systemctl stop {{unit}} --user

Code Snippets

Stop a unit

systemctl stop {{unit}}

Stop a service and suppress warnings

systemctl stop {{unit}} --no-warn

Stop a user unit

systemctl stop {{unit}} --user

Context

tldr-pages: linux/systemctl stop

Revisions (0)

No revisions yet.