mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
systemctl*: prune more info links (#18156)
* Update systemctl-cat.md, systemctl-edit.md, systemctl-mask.md, systemctl-stop.md, systemctl-thaw.md, systemctl-start.md, systemctl-freeze.md, systemctl-status.md, systemctl-unmask.md, systemctl-whoami.md, systemctl-restart.md, systemctl-suspend.md
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# systemctl cat
|
||||
|
||||
> Show the full contents of unit files as systemd sees them.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#cat%20PATTERN%E2%80%A6>.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#cat%20PATTERN%E2%80%A6>.
|
||||
|
||||
- Show the contents and absolute path of a unit file:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# systemctl edit
|
||||
|
||||
> Edit systemd unit files.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#edit%20UNIT%E2%80%A6>.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#edit%20UNIT%E2%80%A6>.
|
||||
|
||||
- Overlay a unit file non-destructively:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
> Freeze one or more units.
|
||||
> Frozen units can be resumed with `systemctl thaw`.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#freeze%20PATTERN%E2%80%A6>.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#freeze%20PATTERN%E2%80%A6>.
|
||||
|
||||
- Freeze a specific unit:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# systemctl mask
|
||||
|
||||
> Link units to `/dev/null` so that they can be even started.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#mask%20UNIT%E2%80%A6>.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#mask%20UNIT%E2%80%A6>.
|
||||
|
||||
- Mask a service:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
> Stop and then start one or more systemd units.
|
||||
> Can be used in place of `systemctl start` on a stopped unit, but `start` is safer so that a running unit isn't accidentally restarted.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#restart%20PATTERN%E2%80%A6>.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#restart%20PATTERN%E2%80%A6>.
|
||||
|
||||
- Restart a unit:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# systemctl start
|
||||
|
||||
> Start systemd units.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#start%20PATTERN%E2%80%A6>.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#start%20PATTERN%E2%80%A6>.
|
||||
|
||||
- Start a unit:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# systemctl status
|
||||
|
||||
> Display the status of systemd units.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#status%20PATTERN%E2%80%A6%7CPID%E2%80%A6%5D>.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#status%20PATTERN%E2%80%A6%7CPID%E2%80%A6%5D>.
|
||||
|
||||
- Show the status of a systemd unit:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# systemctl stop
|
||||
|
||||
> Stop systemd units.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#stop%20PATTERN%E2%80%A6>.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#stop%20PATTERN%E2%80%A6>.
|
||||
|
||||
- Stop a unit:
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# systemctl suspend
|
||||
|
||||
> Suspend the system.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#suspend>.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#suspend>.
|
||||
|
||||
- Suspend the system immediately:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
> Thaw (resume) one or more frozen units.
|
||||
> Units can be frozen with `systemctl freeze`.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#thaw%20PATTERN%E2%80%A6>.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#thaw%20PATTERN%E2%80%A6>.
|
||||
|
||||
- Thaw a specific unit:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
> Unmask units to make them startable again.
|
||||
> This undoes the effect of `systemctl mask`.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#unmask%20UNIT%E2%80%A6>.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#unmask%20UNIT%E2%80%A6>.
|
||||
|
||||
- Unmask a service:
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
> Show units that processes belong to.
|
||||
> If no PID is specified, shows the unit the `systemctl` command itself is invoked in.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#whoami%20%5BPID%E2%80%A6%5D>.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#whoami%20%5BPID%E2%80%A6%5D>.
|
||||
|
||||
- Show the unit of the current shell (where `systemctl` is running):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user