From 496494f3fde347afb4d98aab3e0f67bfe463d05c Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 29 May 2025 00:24:33 +0300 Subject: [PATCH] systemctl: add edit example (#16637) --- pages/linux/systemctl.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/linux/systemctl.md b/pages/linux/systemctl.md index dae76f4c39..45231c9ebe 100644 --- a/pages/linux/systemctl.md +++ b/pages/linux/systemctl.md @@ -31,6 +31,6 @@ `systemctl list-units {{[-t|--type]}} {{service|socket|automount}} --state {{failed|running}}` -- Show the contents & absolute path of a unit file: +- Show the contents & absolute path of a unit file or edit it: -`systemctl cat {{unit}}` +`systemctl {{cat|edit}} {{unit}}`