Skip to content

Commit d82473a

Browse files
committed
Add keys formatting for ctrl and pipe to stand out more clearly as keyboard commands
1 parent 9cd880d commit d82473a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/wiki-guide/Command-Line-Cheat-Sheet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ See also [GitHub's Markdown Guide](https://docs.github.com/en/get-started/writin
1212
| `ls` | list everything in current directory (use `-a` to also show **a**ll files including hidden, `-l` for a **l**ong list including permissions and ownership info, `-1` ("dash one") to display the output with **1** item on each line) |
1313
| `wc -l <file>` | use the **w**ord **c**ount command with the `-l` **l**ines option to list the number of lines in a file |
1414
| `du <dirname>/`| calculate and show how much **d**isk **u**sage is consumed by a directory (use `-h` to make it **h**uman-readable, i.e. report in MB, GB or whatever units are most appropriate, and `-s` for **s**ummary of all the contents together rather than each item individually) |
15-
| `ctrl r` | search for command (will pop up `bck-i-search:`) |
15+
| ++ctrl+r++ | search for command (will pop up `bck-i-search:`) |
1616
| `rm <target>` | remove a file (or folder with `-r`). Beware when using `rm -rf <folder>` to **f**orce the **r**ecursive removal of all contents in a folder, which cannot be undone unless there is a backup. |
17-
| `<cmd1> \| <cmd2>` | The "pipe" operator (`\|`) feeds the output of the first command (`cmd1`) to the input of the second command (`cmd2`). For example, show the total number of files in a directory with `ls -1 <dir> \| wc -l`|
17+
| `<cmd1> | <cmd2>` | The "pipe" operator (++pipe++) feeds the output of the first command (`cmd1`) to the input of the second command (`cmd2`). For example, show the total number of files in a directory with `ls -1 <dir> | wc -l`|
1818

1919
### Git-Specific
2020
| Command | Action |

mkdocs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ markdown_extensions:
7878
- pymdownx.superfences
7979
- pymdownx.tasklist
8080
- pymdownx.tilde
81+
- pymdownx.keys
8182
- pymdownx.highlight:
8283
anchor_linenums: true
8384
line_spans: __span

0 commit comments

Comments
 (0)