mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-26 02:03:21 +01:00
Add ctrl+z information and clean up formatting in tty.md
This commit is contained in:
parent
931127b65e
commit
76b60dd78b
31
help/tty.md
31
help/tty.md
@ -1,26 +1,31 @@
|
|||||||
## Moving Around
|
## Moving Around
|
||||||
|
|
||||||
- Move to the previous terminal `Alt+Left`
|
- Move to the previous terminal: `Alt+Left`
|
||||||
- Move to the next terminal `Alt+Right`
|
- Move to the next terminal: `Alt+Right`
|
||||||
- Switch to the Nth terminal `Ctrl+Alt+F<N>`
|
- Switch to the Nth terminal: `Ctrl+Alt+F<N>`
|
||||||
- Scroll up `Shift+PgUp`
|
- Scroll up: `Shift+PgUp`
|
||||||
- Scroll down `Shift+PgDn`
|
- Scroll down: `Shift+PgDn`
|
||||||
|
|
||||||
## Manipulating Text
|
## Manipulating Text
|
||||||
|
|
||||||
- Copy text `Ctrl+Shift+C`
|
- Copy text: `Ctrl+Shift+C`
|
||||||
- Paste text `Ctrl+Shift+V`
|
- Paste text: `Ctrl+Shift+V`
|
||||||
- Cancel the running command `Ctrl+C`
|
- Go to the beginning of the line: `Ctrl+A`
|
||||||
- Go to the beginning of the line `Ctrl+A`
|
- Go to the end of the line: `Ctrl+E`
|
||||||
- Go to the end of the line `Ctrl+E`
|
- Remove everything after the cursor: `Ctrl+K`
|
||||||
- Remove everything after the cursor `Ctrl+K`
|
|
||||||
|
|
||||||
## Piping
|
## Piping
|
||||||
|
|
||||||
- Take the output from `a` and use it as the input for `b`: `a | b`
|
- Take the output from `a` and use it as the input for `b`: `a | b`
|
||||||
- Take the output from `a` and write it to the file `b`: `a > b`
|
- Take the output from `a` and write it to the file `b`: `a > b`
|
||||||
- Take the output from `a` and append it to the file `b`: `a >> b`
|
- Take the output from `a` and append it to the file `b`: `a >> b`
|
||||||
|
|
||||||
## Wildcard
|
## Wildcard
|
||||||
|
|
||||||
- Use `*` anywhere as a wildcard to find all matches
|
- Use `*` anywhere as a wildcard to find all matches
|
||||||
|
|
||||||
|
## Control Keys
|
||||||
|
|
||||||
|
- Cancel the running command: `Ctrl+C`
|
||||||
|
- Suspend the current process (resume with `fg`): `Ctrl+Z`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user