Skip to content

Commit a9b71a5

Browse files
authored
linux/*: switch from using mnemonics to option placeholders (#16029)
1 parent a6297f1 commit a9b71a5

35 files changed

+117
-117
lines changed

pages/linux/agetty.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
`agetty {{[-t|--timeout]}} {{timeout_in_seconds}} -`
1515

16-
- Assume the `tty` is [8]-bit, overriding the `TERM` environment variable set by `init`:
16+
- Assume the `tty` is 8-bit, overriding the `TERM` environment variable set by `init`:
1717

18-
`agetty -8 - {{term_var}}`
18+
`agetty {{[-8|--8bits]}} - {{term_var}}`
1919

2020
- Skip the login (no login) and invoke, as root, another login program instead of `/bin/login`:
2121

pages/linux/apx-subsystems.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> Manage subsystems in `apx`.
44
> Subsystems are containers that can be created based on pre-existing stacks.
5-
> More information: <https://github.com/Vanilla-OS/apx>.
5+
> More information: <https://docs.vanillaos.org/docs/en/apx-manpage#subsystems>.
66
77
- Interactively create a new subsystem:
88

@@ -14,16 +14,16 @@
1414

1515
- Reset a specific subsystem to its initial state:
1616

17-
`apx subsystems reset --name {{string}}`
17+
`apx subsystems reset {{[-n|--name]}} {{string}}`
1818

19-
- [f]orce reset a specific subsystem:
19+
- Force reset a specific subsystem:
2020

21-
`apx subsystems reset --name {{string}} --force`
21+
`apx subsystems reset {{[-n|--name]}} {{string}} {{[-f|--force]}}`
2222

2323
- Remove a specific subsystem:
2424

25-
`apx subsystems rm --name {{string}}`
25+
`apx subsystems rm {{[-n|--name]}} {{string}}`
2626

27-
- [f]orce remove a specific subsystem:
27+
- Force remove a specific subsystem:
2828

29-
`apx subsystems rm --name {{string}} --force`
29+
`apx subsystems rm {{[-n|--name]}} {{string}} {{[-f|--force]}}`

pages/linux/arithmetic.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# arithmetic
22

33
> Quiz on simple arithmetic problems.
4-
> More information: <https://manned.org/arithmetic.6>.
4+
> More information: <https://manned.org/arithmetic>.
55
66
- Start an arithmetic quiz:
77

pages/linux/arpspoof.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# arpspoof
22

33
> Forge ARP replies to intercept packets.
4-
> More information: <https://monkey.org/~dugsong/dsniff>.
4+
> More information: <https://manned.org/arpspoof>.
55
66
- Poison all hosts to intercept packets on [i]nterface for the host:
77

pages/linux/asterisk.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# asterisk
22

33
> Run and manage telephone and exchange (phone) server instances.
4-
> More information: <https://docs.asterisk.org>.
4+
> More information: <https://docs.asterisk.org/Operation/>.
55
66
- [r]econnect to a running server, and turn on logging 3 levels of [v]erbosity:
77

pages/linux/autorecon.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77

88
`sudo autorecon {{host_or_ip1,host_or_ip2,...}}`
99

10-
- Perform reconnaissance on [t]arget(s) from a file:
10+
- Perform reconnaissance on target(s) from a file:
1111

12-
`sudo autorecon --target-file {{path/to/file}}`
12+
`sudo autorecon {{[-t|--target-file]}} {{path/to/file}}`
1313

14-
- [o]utput results to a different directory:
14+
- Output results to a different directory:
1515

16-
`sudo autorecon --output {{path/to/results}} {{host_or_ip1,host_or_ip2,...}}`
16+
`sudo autorecon {{[-o|--output]}} {{path/to/results}} {{host_or_ip1,host_or_ip2,...}}`
1717

18-
- Limit scanning to specific [p]orts and protocols (`T` for TCP, `U` for UDP, `B` for both):
18+
- Limit scanning to specific ports and protocols (`T` for TCP, `U` for UDP, `B` for both):
1919

20-
`sudo autorecon --ports {{T:21-25,80,443,U:53,B:123}} {{host_or_ip1,host_or_ip2,...}}`
20+
`sudo autorecon {{[-p|--ports]}} {{T:21-25,80,443,U:53,B:123}} {{host_or_ip1,host_or_ip2,...}}`

pages/linux/bwa.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> Burrows-Wheeler Alignment tool.
44
> Short, low-divergent DNA sequences mapper against a large reference genome, such as the human genome.
5-
> More information: <https://github.com/lh3/bwa>.
5+
> More information: <https://manned.org/bwa>.
66
77
- Index the reference genome:
88

pages/linux/cat.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
`cat - > {{path/to/file}}`
2121

22-
- [n]umber all output lines:
22+
- Number all output lines:
2323

2424
`cat {{[-n|--number]}} {{path/to/file}}`
2525

pages/linux/cpupower.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@
55
66
- List CPUs:
77

8-
`sudo cpupower --cpu {{all}} info`
8+
`sudo cpupower {{[-c|--cpu]}} {{all}} info`
99

1010
- Print information about all cores:
1111

12-
`sudo cpupower --cpu {{all}} info`
12+
`sudo cpupower {{[-c|--cpu]}} {{all}} info`
1313

1414
- Set all CPUs to a power-saving frequency governor:
1515

16-
`sudo cpupower --cpu {{all}} frequency-set --governor {{powersave}}`
16+
`sudo cpupower {{[-c|--cpu]}} {{all}} frequency-set --governor {{powersave}}`
1717

18-
- Print CPU 0's available frequency [g]overnors:
18+
- Print CPU 0's available frequency governors:
1919

20-
`sudo cpupower --cpu {{0}} frequency-info g | grep "analyzing\|governors"`
20+
`sudo cpupower {{[-c|--cpu]}} {{0}} frequency-info {{[-g|--governors]}} | grep "analyzing\|governors"`
2121

2222
- Print CPU 4's frequency from the hardware, in a human-readable format:
2323

24-
`sudo cpupower --cpu {{4}} frequency-info --hwfreq --human`
24+
`sudo cpupower {{[-c|--cpu]}} {{4}} frequency-info {{[-w|--hwfreq]}} {{[-m|--human]}}`

pages/linux/cryptcat.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# cryptcat
22

33
> Cryptcat is netcat with encryption capabilities.
4-
> More information: <https://cryptcat.sourceforge.net>.
4+
> More information: <https://manned.org/cryptcat>.
55
66
- [l]isten on a specified [p]ort and print any data received:
77

pages/linux/dbclient.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# dbclient
22

33
> Lightweight Dropbear Secure Shell client.
4-
> More information: <https://manned.org/dbclient.1>.
4+
> More information: <https://manned.org/dbclient>.
55
66
- Connect to a remote host:
77

pages/linux/dpigs.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@
55
66
- Display the N largest packages on the system:
77

8-
`dpigs --lines={{N}}`
8+
`dpigs {{[-n|--lines]}} {{N}}`
99

10-
- Use the specified file instead of the default dpkg [s]tatus file:
10+
- Use the specified file instead of the default dpkg status file:
1111

12-
`dpigs --status={{path/to/file}}`
12+
`dpigs {{[-s|--status]}} {{path/to/file}}`
1313

14-
- Display the largest [S]ource packages of binary packages installed on the system:
14+
- Display the largest source packages of binary packages installed on the system:
1515

16-
`dpigs --source`
16+
`dpigs {{[-S|--source]}}`
1717

18-
- Display package sizes in [H]uman-readable format:
18+
- Display package sizes in human-readable format:
1919

20-
`dpigs --human-readable`
20+
`dpigs {{[-H|--human-readable]}}`
2121

2222
- Display help:
2323

24-
`dpigs --help`
24+
`dpigs {{[-h|--help]}}`

pages/linux/dropbearkey.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# dropbearkey
22

33
> Generate SSH keys in Dropbear format.
4-
> More information: <https://manned.org/dropbearkey.1>.
4+
> More information: <https://manned.org/dropbearkey>.
55
66
- Generate an SSH key of [t]ype ed25519 and write it to key [f]ile:
77

pages/linux/esearch.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616

1717
`esearch -db nuccore -query "{{insulin [PROT] AND rodents [ORGN]}}"`
1818

19-
- Display [h]elp:
19+
- Display help:
2020

21-
`esearch -h`
21+
`esearch {{[-h|-help]}}`

pages/linux/getfacl.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77

88
`getfacl {{path/to/file_or_directory}}`
99

10-
- Display the file access control list with [n]umeric user and group IDs:
10+
- Display the file access control list with numeric user and group IDs:
1111

12-
`getfacl --numeric {{path/to/file_or_directory}}`
12+
`getfacl {{[-n|--numeric]}} {{path/to/file_or_directory}}`
1313

14-
- Display the file access control list with [t]abular output format:
14+
- Display the file access control list with tabular output format:
1515

16-
`getfacl --tabular {{path/to/file_or_directory}}`
16+
`getfacl {{[-t|--tabular]}} {{path/to/file_or_directory}}`

pages/linux/iptables-save.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88

99
`sudo iptables-save`
1010

11-
- Print the `iptables` configuration of a specific [t]able:
11+
- Print the `iptables` configuration of a specific table:
1212

13-
`sudo iptables-save --table {{table}}`
13+
`sudo iptables-save {{[-t|--table]}} {{table}}`
1414

15-
- Save the `iptables` configuration to a [f]ile:
15+
- Save the `iptables` configuration to a file:
1616

17-
`sudo iptables-save --file {{path/to/file}}`
17+
`sudo iptables-save {{[-f|--file]}} {{path/to/file}}`

pages/linux/lsipc.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212

1313
`lsipc {{--shmems|--queues|--semaphores}}`
1414

15-
- Show full details on the resource with a specific [i]D:
15+
- Show full details on the resource with a specific ID:
1616

17-
`lsipc {{--shmems|--queues|--semaphores}} --id {{resource_id}}`
17+
`lsipc {{--shmems|--queues|--semaphores}} {{[-i|--id]}} {{resource_id}}`
1818

19-
- Print the given [o]utput columns (see all supported columns with `--help`):
19+
- Print the given output columns (see all supported columns with `--help`):
2020

21-
`lsipc --output {{KEY,ID,PERMS,SEND,STATUS,NSEMS,RESOURCE,...}}`
21+
`lsipc {{[-o|--output]}} {{KEY,ID,PERMS,SEND,STATUS,NSEMS,RESOURCE,...}}`
2222

2323
- Use [r]aw, [J]SON, [l]ist or [e]xport (key="value") format:
2424

pages/linux/macchanger.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,24 @@
55
66
- View the current and permanent MAC addresses of a interface:
77

8-
`macchanger --show {{interface}}`
8+
`macchanger {{[-s|--show]}} {{interface}}`
99

1010
- Set interface to a random MAC:
1111

12-
`macchanger --random {{interface}}`
12+
`macchanger {{[-r|--random]}} {{interface}}`
1313

1414
- Set an interface to a random MAC address, and pretend to be a [b]urned-[i]n-[a]ddress:
1515

16-
`macchanger --random --bia {{interface}}`
16+
`macchanger {{[-r|--random]}} {{[-b|--bia]}} {{interface}}`
1717

1818
- Set an interface to a specific MAC address:
1919

20-
`macchanger --mac {{XX:XX:XX:XX:XX:XX}} {{interface}}`
20+
`macchanger {{[-m|--mac]}} {{XX:XX:XX:XX:XX:XX}} {{interface}}`
2121

2222
- Print the identifications (the first three bytes of a MAC address) of all known vendors:
2323

24-
`macchanger --list`
24+
`macchanger {{[-l|--list]}}`
2525

2626
- Reset an interface to its permanent hardware MAC address:
2727

28-
`macchanger --permanent {{interface}}`
28+
`macchanger {{[-p|--permanent]}} {{interface}}`

pages/linux/namcap.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# namcap
22

33
> Check binary packages and source `PKGBUILD`s for common packaging mistakes.
4-
> More information: <https://manned.org/namcap.1>.
4+
> More information: <https://manned.org/namcap>.
55
66
- Check a specific `PKGBUILD` file:
77

@@ -11,6 +11,6 @@
1111

1212
`namcap {{path/to/package.pkg.tar.zst}}`
1313

14-
- Check a file, printing extra [i]nformational messages:
14+
- Check a file, printing extra informational messages:
1515

16-
`namcap -i {{path/to/file}}`
16+
`namcap {{[-i|--info]}} {{path/to/file}}`

pages/linux/needrestart.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# needrestart
22

33
> Check which daemons need to be restarted after library upgrades.
4-
> More information: <https://github.com/liske/needrestart>.
4+
> More information: <https://manned.org/needrestart>.
55
66
- List outdated processes:
77

pages/linux/nitch.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77

88
`nitch`
99

10-
- Display [h]elp:
10+
- Display help:
1111

12-
`nitch --help`
12+
`nitch {{[-h|--help]}}`
1313

14-
- Display [v]ersion:
14+
- Display version:
1515

16-
`nitch --version`
16+
`nitch {{[-v|--version]}}`

pages/linux/pkgctl-diff.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22

33
> Compare package files using different modes.
44
> See also: `pkgctl`.
5-
> More information: <https://manned.org/pkgctl-diff.1>.
5+
> More information: <https://manned.org/pkgctl-diff>.
66
7-
- Compare package files in tar content [l]ist different mode (default):
7+
- Compare package files in tar content list different mode (default):
88

9-
`pkgctl diff --list {{path/to/file|pkgname}}`
9+
`pkgctl diff {{[-l|--list]}} {{path/to/file|pkgname}}`
1010

11-
- Compare package files in [d]iffoscope different mode:
11+
- Compare package files in diffoscope different mode:
1212

13-
`pkgctl diff --diffoscope {{path/to/file|pkgname}}`
13+
`pkgctl diff {{[-d|--diffoscope]}} {{path/to/file|pkgname}}`
1414

1515
- Compare package files in `.PKGINFO` different mode:
1616

17-
`pkgctl diff --pkginfo {{path/to/file|pkgname}}`
17+
`pkgctl diff {{[-p|--pkginfo]}} {{path/to/file|pkgname}}`
1818

1919
- Compare package files in `.BUILDINFO` different mode:
2020

21-
`pkgctl diff --buildinfo {{path/to/file|pkgname}}`
21+
`pkgctl diff {{[-b|--buildinfo]}} {{path/to/file|pkgname}}`

pages/linux/pyrit.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# pyrit
22

33
> WPA/WPA2 cracking tool using computational power.
4-
> More information: <https://github.com/JPaulMora/Pyrit>.
4+
> More information: <https://manned.org/pyrit>.
55
66
- Display system cracking speed:
77

pages/linux/qrcp.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515

1616
`qrcp send --zip {{path/to/file_or_directory}}`
1717

18-
- Use a specific [p]ort:
18+
- Use a specific port:
1919

20-
`qrcp {{send|receive}} --port {{port_number}}`
20+
`qrcp {{send|receive}} {{[-p|--port]}} {{port_number}}`
2121

22-
- Use a specific network [i]nterface:
22+
- Use a specific network interface:
2323

24-
`qrcp {{send|receive}} --interface {{interface}}`
24+
`qrcp {{send|receive}} {{[-i|--interface]}} {{interface}}`
2525

2626
- Keep the server alive:
2727

pages/linux/rig.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111

1212
`rig -{{m|f}}`
1313

14-
- Use data files from a specific directory (default is `/usr/share/rig`):
14+
- Use [d]ata files from a specific directory (default is `/usr/share/rig`):
1515

1616
`rig -d {{path/to/directory}}`
1717

1818
- Display a specific number of identities:
1919

2020
`rig -c {{number}}`
2121

22-
- Display a specific number of female identities:
22+
- Display a specific number of [f]emale identities:
2323

2424
`rig -f -c {{number}}`

0 commit comments

Comments
 (0)