pages/*: fix small typos (#11831)

* pages/*: fix small typos

* Update ssh-copy-id.md

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* ansible-inventory: fix typo

* Update pages/linux/zathura.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* gcloud: fix typo

* fdesetup: mark as placeholder

* icalbuddy: use general placeholder

* ip: make it a placeholder

* git-svn: fix typo

* pages/*: fix typos

* kubectl-get: add mnemonics and long options

* kubectl-describe: add mnemonics and long options

* pip-install: use short option

* Update icalbuddy.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
pull/23/head
Sebastiaan Speck 2023-12-27 07:22:49 +01:00 committed by GitHub
parent 79cd77711e
commit 7510205497
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 38 additions and 38 deletions

View File

@ -10,7 +10,7 @@
- Display a custom inventory:
`ansbile-inventory --list --inventory {{path/to/file_or_script_or_directory}}`
`ansible-inventory --list --inventory {{path/to/file_or_script_or_directory}}`
- Display the default inventory in YAML:

View File

@ -17,7 +17,7 @@
- SSH into a virtual machine instance:
`gcloud compute ssh {{user}}@{{instance}} `
`gcloud compute ssh {{user}}@{{instance}}`
- Display all Google Compute Engine instances in a project. Instances from all zones are listed by default:

View File

@ -14,4 +14,4 @@
- Create and push a release with a message:
`git release {{{tag_name}}} -m "{{message}}"`
`git release {{tag_name}} -m "{{message}}"`

View File

@ -21,4 +21,4 @@
- Commit back to the SVN repository:
`git svn dcommit`
`git svn commit`

View File

@ -3,22 +3,22 @@
> Show details of Kubernetes objects and resources.
> More information: <https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#describe>.
- Show details of pods in a namespace:
- Show details of pods in a [n]amespace:
`kubectl describe pods -n {{namespace}}`
`kubectl describe pods --namespace {{namespace}}`
- Show details of nodes in a namespace:
- Show details of nodes in a [n]amespace:
`kubectl describe nodes -n {{namespace}}`
`kubectl describe nodes --namespace {{namespace}}`
- Show the details of a specific pod in a namespace:
- Show the details of a specific pod in a [n]amespace:
`kubectl describe pods {{pod_name}} -n {{namespace}}`
`kubectl describe pods {{pod_name}} --namespace {{namespace}}`
- Show the details of a specific node in a namespace:
- Show the details of a specific node in a [n]amespace:
`kubectl describe nodes {{node_name}} -n {{namespace}}`
`kubectl describe nodes {{node_name}} --namespace {{namespace}}`
- Show details of Kubernetes objects defined in a YAML manifest:
- Show details of Kubernetes objects defined in a YAML manifest [f]ile:
`kubectl describe -f {{path/to/manifest.yaml}}`
`kubectl describe --file {{path/to/manifest.yaml}}`

View File

@ -7,26 +7,26 @@
`kubectl get namespaces`
- Get nodes in a specified namespace:
- Get nodes in a specified [n]amespace:
`kubectl get nodes -n {{namespace}}`
`kubectl get nodes --namespace {{namespace}}`
- Get pods in a specified namespace:
- Get pods in a specified [n]amespace:
`kubectl get pods -n {{namespace}}`
`kubectl get pods --namespace {{namespace}}`
- Get deployments in a specified namespace:
- Get deployments in a specified [n]amespace:
`kubectl get deployments -n {{namespace}}`
`kubectl get deployments --namespace {{namespace}}`
- Get services in a specified namespace:
- Get services in a specified [n]amespace:
`kubectl get services -n {{namespace}}`
`kubectl get services --namespace {{namespace}}`
- Get all resources in a specified namespace:
- Get all resources in a specified [n]amespace:
`kubectl get all -n {{namespace}}`
`kubectl get all --namespace {{namespace}}`
- Get Kubernetes objects defined in a YAML manifest:
- Get Kubernetes objects defined in a YAML manifest [f]ile:
`kubectl get -f {{path/to/manifest.yaml}}`
`kubectl get --file {{path/to/manifest.yaml}}`

View File

@ -13,7 +13,7 @@
- Install packages listed in a file:
`pip install --requirement {{path/to/requirements.txt}}`
`pip install -r {{path/to/requirements.txt}}`
- Install packages from an URL or local file archive (.tar.gz | .whl):

View File

@ -5,7 +5,7 @@
- Copy your keys to the remote machine:
`ssh-copy-id {{username@remote_host}}`
`ssh-copy-id {{username}}@{{remote_host}}`
- Copy the given public key to the remote:

View File

@ -9,11 +9,11 @@
- Navigate the piece horizontally:
`{{A|D}} OR {{Left|Right}} arrow key`
`{{A|D}} OR {{Left|Right arrow key}}`
- Turn the piece:
`{{W|Up arrow key}} `
`{{W|Up arrow key}}`
- Hard drop the piece:

View File

@ -9,7 +9,7 @@
- Generate a UUIDv5 using a namespace UUID and a specific name:
`genid uuidv5 {{{ce598faa-8dd0-49ee-8525-9e24fff71dca}}} {{name}}`
`genid uuidv5 {{ce598faa-8dd0-49ee-8525-9e24fff71dca}} {{name}}`
- Generate a Discord Snowflake, without a trailing newline (useful in shell scripts):

View File

@ -26,7 +26,7 @@
- Make an interface up/down:
`ip link set {{interface}} up/down`
`ip link set {{interface}} {{up|down}}`
- Add/Delete an IP address to an interface:

View File

@ -17,4 +17,4 @@
- Display records more recent than 3 days:
`lastlog -time {{3}}`
`lastlog --time {{3}}`

View File

@ -5,4 +5,4 @@
- Convert an RPM package to a `cpio` archive and save it as `file.cpio` in the current directory:
`rpm2cpio {{path/to/file.rpm}}}`
`rpm2cpio {{path/to/file.rpm}}`

View File

@ -10,4 +10,4 @@
- Change the activation status of logical volumes in the specified volume group (determine with `vgscan`):
`sudo vgchange --activate {{y|n}} {{volume_group}}}`
`sudo vgchange --activate {{y|n}} {{volume_group}}`

View File

@ -10,7 +10,7 @@
- Navigate left/up/down/right:
`<H|J|K|L> or arrow keys`
`{{H|J|K|L}} OR {{arrow keys}}`
- Rotate:

View File

@ -13,7 +13,7 @@
- Add FileVault enabled user:
`sudo fdesetup add -usertoadd user1`
`sudo fdesetup add -usertoadd {{user1}}`
- Enable FileVault:

View File

@ -17,7 +17,7 @@
- Show tasks for a specified number of days:
`icalBuddy --includeOnlyEventsFromNowOn "tasksDueBefore:today+{{8}}"`
`icalBuddy --includeOnlyEventsFromNowOn "tasksDueBefore:today+{{number_of_days}}"`
- Show events in a time range: