edit shell tips
This commit is contained in:
@@ -22,6 +22,8 @@ ls -l file1 file2
|
|||||||
cat !^
|
cat !^
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**NB:** this only works when running `bash` interactively, never in scripts.
|
||||||
|
|
||||||
# Done
|
# Done
|
||||||
|
|
||||||
`<C-d>`
|
`<C-d>`
|
||||||
@@ -29,9 +31,8 @@ cat !^
|
|||||||
- If you have a command, Control + d will execute the command.
|
- If you have a command, Control + d will execute the command.
|
||||||
- If you have nothing, `exit`.
|
- If you have nothing, `exit`.
|
||||||
|
|
||||||
# Clear Search Highlights
|
# Search & Clear Highlights
|
||||||
|
|
||||||
`<Esc>+u`
|
You can search in many programs by using `/`.
|
||||||
|
Most programs let you clearn the highlighting with `<Esc>+u`.
|
||||||
Works in most programs with search.
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user