From ab7928e80be9966df4e4d76b6993b4d7609edcb8 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Thu, 22 Jan 2026 10:26:41 +0200 Subject: [PATCH] {bus, network, oom, update, userdb}ctl, systemd-{sysext, inhibit, hwdb}: simplify examples and add sudo (#20850) --- pages/linux/busctl.md | 2 +- pages/linux/networkctl.md | 2 +- pages/linux/oomctl.md | 2 +- pages/linux/systemd-hwdb.md | 6 +++--- pages/linux/systemd-inhibit.md | 2 +- pages/linux/systemd-sysext.md | 2 +- pages/linux/updatectl.md | 2 +- pages/linux/userdbctl.md | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/pages/linux/busctl.md b/pages/linux/busctl.md index f8e211d8d2..89ba288c39 100644 --- a/pages/linux/busctl.md +++ b/pages/linux/busctl.md @@ -5,7 +5,7 @@ - Show all peers on the bus by their service names: -`busctl list` +`busctl` - Show process information and credentials of a bus service, a process, or the owner of the bus (if no parameter is specified): diff --git a/pages/linux/networkctl.md b/pages/linux/networkctl.md index e46b5c2702..293befd1e7 100644 --- a/pages/linux/networkctl.md +++ b/pages/linux/networkctl.md @@ -6,7 +6,7 @@ - List existing links with their status: -`networkctl list` +`networkctl` - Show an overall network status: diff --git a/pages/linux/oomctl.md b/pages/linux/oomctl.md index 609e3d38a4..3d884d417d 100644 --- a/pages/linux/oomctl.md +++ b/pages/linux/oomctl.md @@ -5,4 +5,4 @@ - Show the current state of the cgroups and system contexts stored by `systemd-oomd`: -`oomctl dump` +`oomctl` diff --git a/pages/linux/systemd-hwdb.md b/pages/linux/systemd-hwdb.md index 31839b4c60..cdd5c2dd58 100644 --- a/pages/linux/systemd-hwdb.md +++ b/pages/linux/systemd-hwdb.md @@ -5,7 +5,7 @@ - Update the binary hardware database in `/etc/udev`: -`systemd-hwdb update` +`sudo systemd-hwdb update` - Query the hardware database and print the result for a specific modalias: @@ -13,11 +13,11 @@ - Update the binary hardware database, returning a non-zero exit value on any parsing error: -`systemd-hwdb {{[-s|--strict]}} update` +`sudo systemd-hwdb {{[-s|--strict]}} update` - Update the binary hardware database in `/usr/lib/udev`: -`systemd-hwdb --usr update` +`sudo systemd-hwdb --usr update` - Update the binary hardware database in the specified root path: diff --git a/pages/linux/systemd-inhibit.md b/pages/linux/systemd-inhibit.md index 892da5b803..f7b5ff3a7d 100644 --- a/pages/linux/systemd-inhibit.md +++ b/pages/linux/systemd-inhibit.md @@ -6,7 +6,7 @@ - List all active inhibition locks and the reasons for their creation: -`systemd-inhibit --list` +`systemd-inhibit` - Block system shutdown for a specified number of seconds with the `sleep` command: diff --git a/pages/linux/systemd-sysext.md b/pages/linux/systemd-sysext.md index a7b1788c37..4a9c369e28 100644 --- a/pages/linux/systemd-sysext.md +++ b/pages/linux/systemd-sysext.md @@ -13,7 +13,7 @@ - Check the current merge status: -`systemd-sysext status` +`systemd-sysext` - Unmerge all currently installed system extension images from `/usr/` and `/opt/`: diff --git a/pages/linux/updatectl.md b/pages/linux/updatectl.md index 16c1b76f4e..2981570544 100644 --- a/pages/linux/updatectl.md +++ b/pages/linux/updatectl.md @@ -13,7 +13,7 @@ - Show update targets: -`updatectl list` +`updatectl` - Show data about a target and its versions: diff --git a/pages/linux/userdbctl.md b/pages/linux/userdbctl.md index d09923eb8d..f8d8414917 100644 --- a/pages/linux/userdbctl.md +++ b/pages/linux/userdbctl.md @@ -5,7 +5,7 @@ - List all known user records: -`userdbctl user` +`userdbctl` - Show details of a specific user: