Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/common/cargo-add.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

- Add a dependency and enable one or more specific features:

`cargo add {{dependency}} {{[-F|--features]}} {{feature_1}},{{feature_2}}`
`cargo add {{dependency}} {{[-F|--features]}} {{feature_1,feature_2,...}}`

- Add an optional dependency, which then gets exposed as a feature of the crate:

Expand Down
6 changes: 3 additions & 3 deletions pages/common/kubetail.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

`kubetail {{my_app}} {{[-c|--container]}} {{my_container}}`

- To tail multiple containers from multiple pods:
- Tail multiple containers from multiple pods:

`kubetail {{my_app}} {{[-c|--container]}} {{my_container_1}} {{[-c|--container]}} {{my_container_2}}`

- To tail multiple applications at the same time separate them by comma:
- Tail multiple applications at the same time separate them by comma:

`kubetail {{my_app_1}},{{my_app_2}}`
`kubetail {{my_app_1,my_app_2,...}}`
2 changes: 1 addition & 1 deletion pages/common/npm-unpublish.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@

`npm unpublish {{package_name}} --timeout {{time_in_milliseconds}}`

- To prevent accidental unpublishing, use the `--dry-run` flag to see what would be unpublished:
- Dry run to see what would be unpublished:

`npm unpublish {{package_name}} --dry-run`
1 change: 1 addition & 0 deletions pages/common/passwd.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# passwd

> Change a user's password.
> See also: `chpasswd`.
> More information: <https://manned.org/passwd>.

- Change the password of the current user interactively:
Expand Down
2 changes: 1 addition & 1 deletion pages/common/pyflakes.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@

- Check all Python files found in multiple directories:

`pyflakes iterSourceCode {{path/to/directory_1}} {{path/to/directory_2}}`
`pyflakes iterSourceCode {{path/to/directory_1 path/to/directory_2 ...}}`
2 changes: 1 addition & 1 deletion pages/linux/bmon.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

- Specify the policy to define which network interface(s) is/are displayed:

`bmon {{[-p|--policy]}} {{interface_1,interface_2,interface_3}}`
`bmon {{[-p|--policy]}} {{interface_1,interface_2,interface_3,...}}`

- Specify the interval (in seconds) in which rate per counter is calculated:

Expand Down
5 changes: 3 additions & 2 deletions pages/linux/chpasswd.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# chpasswd

> Change the passwords for multiple users by using `stdin`.
> See also: `passwd`.
> More information: <https://manned.org/chpasswd.8>.

- Change the password for a specific user:
Expand All @@ -13,8 +14,8 @@

- Change the password for a specific user, and specify it in encrypted form:

`printf "{{username}}:{{new_encrypted_password}}" | sudo chpasswd --encrypted`
`printf "{{username}}:{{new_encrypted_password}}" | sudo chpasswd {{[-e|--encrypted]}}`

- Change the password for a specific user, and use a specific encryption for the stored password:

`printf "{{username}}:{{new_password}}" | sudo chpasswd --crypt-method {{NONE|DES|MD5|SHA256|SHA512}}`
`printf "{{username}}:{{new_password}}" | sudo chpasswd {{[-c|--crypt-method]}} {{NONE|DES|MD5|SHA256|SHA512}}`
2 changes: 1 addition & 1 deletion pages/linux/gs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
> GhostScript, a PDF and PostScript interpreter.
> More information: <https://manned.org/gs>.

- To view a file:
- View a file:

`gs -dQUIET -dBATCH {{file.pdf}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/linux/lvs.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

- Display only specific fields:

`sudo lvs {{[-o|--options]}} {{field_name_1}},{{field_name_2}}`
`sudo lvs {{[-o|--options]}} {{field_name_1,field_name_2,...}}`

- Append field to default display:

Expand Down
2 changes: 1 addition & 1 deletion pages/linux/pvs.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

- Display only specific fields:

`sudo pvs {{[-o|--options]}} {{field_name_1}},{{field_name_2}}`
`sudo pvs {{[-o|--options]}} {{field_name_1,field_name_2,...}}`

- Append field to default display:

Expand Down
2 changes: 1 addition & 1 deletion pages/linux/taskset.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

- Start a new process with affinity for multiple non-sequential CPUs:

`taskset {{[-c|--cpu-list]}} {{cpu_id_1}},{{cpu_id_2}},{{cpu_id_3}}`
`taskset {{[-c|--cpu-list]}} {{cpu_id_1,cpu_id_2,cpu_id_3,...}}`

- Start a new process with affinity for CPUs 1 through 4:

Expand Down
2 changes: 1 addition & 1 deletion pages/linux/vgs.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

- Display only specific fields:

`sudo vgs {{[-o|--options]}} {{field_name_1}},{{field_name_2}}`
`sudo vgs {{[-o|--options]}} {{field_name_1,field_name_2,...}}`

- Append field to default display:

Expand Down
2 changes: 1 addition & 1 deletion pages/windows/set-clipboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@

`Set-Clipboard -Path "{{path/to/file1}}","{{path/to/file2}}","{{path/to/file3}}"`

- To clear the clipboard:
- Clear the clipboard:

`Set-Clipboard ""`
Loading