From 4e10e450e1f4fc568f49fb040baed43c8291f244 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Mon, 8 Jun 2026 04:03:42 +0300 Subject: [PATCH] git-rev-list, qm-stop, shutdown, ttyplot, apg, rolldice, alex, rpcinfo: remove placeholder (#22758) --- pages/common/alex.md | 2 +- pages/common/apg.md | 4 ++-- pages/common/git-rev-list.md | 2 +- pages/linux/qm-stop.md | 6 +++--- pages/linux/rolldice.md | 8 ++++---- pages/linux/rpcinfo.md | 2 +- pages/linux/shutdown.md | 2 +- pages/linux/ttyplot.md | 4 ++-- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/pages/common/alex.md b/pages/common/alex.md index c681fbd9a9..9be6a21ab0 100644 --- a/pages/common/alex.md +++ b/pages/common/alex.md @@ -18,4 +18,4 @@ - Analyze all Markdown files except `example.md`: -`alex *.md !{{example.md}}` +`alex *.md !example.md` diff --git a/pages/common/apg.md b/pages/common/apg.md index 59902940ee..71870fe633 100644 --- a/pages/common/apg.md +++ b/pages/common/apg.md @@ -13,11 +13,11 @@ - Create a password with 16 characters: -`apg -m {{16}}` +`apg -m 16` - Create a password with maximum length of 16: -`apg -x {{16}}` +`apg -x 16` - Create a password that doesn't appear in a dictionary (the dictionary file has to be provided): diff --git a/pages/common/git-rev-list.md b/pages/common/git-rev-list.md index 56e9e9277e..8c549292cf 100644 --- a/pages/common/git-rev-list.md +++ b/pages/common/git-rev-list.md @@ -5,7 +5,7 @@ - List all commits on the current branch: -`git rev-list {{HEAD}}` +`git rev-list HEAD` - Print the latest commit that changed (add/edit/remove) a specific file on the current branch: diff --git a/pages/linux/qm-stop.md b/pages/linux/qm-stop.md index 049ffdd5cc..b891283fbc 100644 --- a/pages/linux/qm-stop.md +++ b/pages/linux/qm-stop.md @@ -9,12 +9,12 @@ - Stop a virtual machine and wait for at most 10 seconds: -`qm stop {{100}} --timeout {{10}}` +`qm stop {{100}} --timeout 10` - Stop a virtual machine and skip lock (only root can use this option): -`qm stop {{100}} --skiplock {{true}}` +`qm stop {{100}} --skiplock true` - Stop a virtual machine and don't deactivate storage volumes: -`qm stop {{100}} --keepActive {{true}}` +`qm stop {{100}} --keepActive true` diff --git a/pages/linux/rolldice.md b/pages/linux/rolldice.md index 28352cc9f1..3c91540812 100644 --- a/pages/linux/rolldice.md +++ b/pages/linux/rolldice.md @@ -5,16 +5,16 @@ - Roll a single 20 sided dice: -`rolldice d{{20}}` +`rolldice d20` - Roll two six sided dice and drop the lowest roll: -`rolldice {{2}}d{{6}}s{{1}}` +`rolldice 2d6s1` - Roll two 20 sided dice and add a modifier value: -`rolldice {{2}}d{{20}}{{+5}}` +`rolldice 2d20{{+5}}` - Roll a 20 sided dice two times: -`rolldice {{2}}xd{{20}}` +`rolldice 2xd20` diff --git a/pages/linux/rpcinfo.md b/pages/linux/rpcinfo.md index 170d0f8c93..cc51010e4a 100644 --- a/pages/linux/rpcinfo.md +++ b/pages/linux/rpcinfo.md @@ -9,7 +9,7 @@ - Show concise table of all RPC services registered on localhost: -`rpcinfo -s {{localhost}}` +`rpcinfo -s localhost` - Display table of statistics of rpcbind operations on localhost: diff --git a/pages/linux/shutdown.md b/pages/linux/shutdown.md index ed1c9ea9a3..4ad6fb3208 100644 --- a/pages/linux/shutdown.md +++ b/pages/linux/shutdown.md @@ -13,7 +13,7 @@ - Reboot in 5 minutes: -`shutdown {{[-r|--reboot]}} +{{5}} &` +`shutdown {{[-r|--reboot]}} +5 &` - Shutdown at 1:00 pm (Uses 24h clock): diff --git a/pages/linux/ttyplot.md b/pages/linux/ttyplot.md index 7d5661c531..dfed085160 100644 --- a/pages/linux/ttyplot.md +++ b/pages/linux/ttyplot.md @@ -5,7 +5,7 @@ - Plot the values `1`, `2`, and `3` (Note: `cat` prevents `ttyplot` from exiting): -`{ echo {{1 2 3}}; cat; } | ttyplot` +`{ echo 1 2 3; cat; } | ttyplot` - Set a specific title and unit: @@ -13,7 +13,7 @@ - Use a while loop to continuously plot random values: -`{ while {{true}}; do echo {{$RANDOM}}; sleep {{1}}; done } | ttyplot` +`{ while true; do echo $RANDOM; sleep {{1}}; done } | ttyplot` - Parse the output from `ping` and visualize it: