diff --git a/pages/common/ansible-inventory.md b/pages/common/ansible-inventory.md index 81bbe0c56..d808ace42 100644 --- a/pages/common/ansible-inventory.md +++ b/pages/common/ansible-inventory.md @@ -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: diff --git a/pages/common/gcloud.md b/pages/common/gcloud.md index 250f9a4b2..2f73fd020 100644 --- a/pages/common/gcloud.md +++ b/pages/common/gcloud.md @@ -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: diff --git a/pages/common/git-release.md b/pages/common/git-release.md index 8b5fcee3a..a88df2159 100644 --- a/pages/common/git-release.md +++ b/pages/common/git-release.md @@ -14,4 +14,4 @@ - Create and push a release with a message: -`git release {{{tag_name}}} -m "{{message}}"` +`git release {{tag_name}} -m "{{message}}"` diff --git a/pages/common/git-svn.md b/pages/common/git-svn.md index 02878e10f..7fbae8f1f 100644 --- a/pages/common/git-svn.md +++ b/pages/common/git-svn.md @@ -21,4 +21,4 @@ - Commit back to the SVN repository: -`git svn dcommit` +`git svn commit` diff --git a/pages/common/kubectl-describe.md b/pages/common/kubectl-describe.md index 2358e75fc..29f4630a5 100644 --- a/pages/common/kubectl-describe.md +++ b/pages/common/kubectl-describe.md @@ -3,22 +3,22 @@ > Show details of Kubernetes objects and resources. > More information: . -- 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}}` diff --git a/pages/common/kubectl-get.md b/pages/common/kubectl-get.md index 2122f4a60..154874732 100644 --- a/pages/common/kubectl-get.md +++ b/pages/common/kubectl-get.md @@ -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}}` diff --git a/pages/common/pip-install.md b/pages/common/pip-install.md index bbf3410f7..0889ccff8 100644 --- a/pages/common/pip-install.md +++ b/pages/common/pip-install.md @@ -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): diff --git a/pages/common/ssh-copy-id.md b/pages/common/ssh-copy-id.md index e3d666749..cc55a2979 100644 --- a/pages/common/ssh-copy-id.md +++ b/pages/common/ssh-copy-id.md @@ -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: diff --git a/pages/linux/cuyo.md b/pages/linux/cuyo.md index 6bb1d08ad..4784dba40 100644 --- a/pages/linux/cuyo.md +++ b/pages/linux/cuyo.md @@ -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: diff --git a/pages/linux/genid.md b/pages/linux/genid.md index 2178fdb64..bc3da06f6 100644 --- a/pages/linux/genid.md +++ b/pages/linux/genid.md @@ -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): diff --git a/pages/linux/ip.md b/pages/linux/ip.md index 417b7062a..110584516 100644 --- a/pages/linux/ip.md +++ b/pages/linux/ip.md @@ -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: diff --git a/pages/linux/lastlog.md b/pages/linux/lastlog.md index 1aa8da131..be44477ba 100644 --- a/pages/linux/lastlog.md +++ b/pages/linux/lastlog.md @@ -17,4 +17,4 @@ - Display records more recent than 3 days: -`lastlog -time {{3}}` +`lastlog --time {{3}}` diff --git a/pages/linux/rpm2cpio.md b/pages/linux/rpm2cpio.md index e304b69e6..1ad837fb1 100644 --- a/pages/linux/rpm2cpio.md +++ b/pages/linux/rpm2cpio.md @@ -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}}` diff --git a/pages/linux/vgchange.md b/pages/linux/vgchange.md index e8ad0421e..54f466df4 100644 --- a/pages/linux/vgchange.md +++ b/pages/linux/vgchange.md @@ -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}}` diff --git a/pages/linux/zathura.md b/pages/linux/zathura.md index 85309f1a6..b84c50c97 100644 --- a/pages/linux/zathura.md +++ b/pages/linux/zathura.md @@ -10,7 +10,7 @@ - Navigate left/up/down/right: -` or arrow keys` +`{{H|J|K|L}} OR {{arrow keys}}` - Rotate: diff --git a/pages/osx/fdesetup.md b/pages/osx/fdesetup.md index ed81df0e6..418a45cf7 100644 --- a/pages/osx/fdesetup.md +++ b/pages/osx/fdesetup.md @@ -13,7 +13,7 @@ - Add FileVault enabled user: -`sudo fdesetup add -usertoadd user1` +`sudo fdesetup add -usertoadd {{user1}}` - Enable FileVault: diff --git a/pages/osx/icalbuddy.md b/pages/osx/icalbuddy.md index 7006340c0..c39768368 100644 --- a/pages/osx/icalbuddy.md +++ b/pages/osx/icalbuddy.md @@ -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: