mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-25 22:07:01 +00:00
Add terminal tricks
Ctrl shortcuts
This commit is contained in:
parent
68a99bbe7f
commit
e553be01fc
@ -35,6 +35,7 @@ Here's a more stylish version of [Bash-Oneliner](http://onceupon.github.io/Bash-
|
|||||||
Ctrl + n : same as Down arrow.
|
Ctrl + n : same as Down arrow.
|
||||||
Ctrl + p : same as Up arrow.
|
Ctrl + p : same as Up arrow.
|
||||||
Ctrl + r : begins a backward search through cammand history.(keep pressing Ctrl + r to move backward)
|
Ctrl + r : begins a backward search through cammand history.(keep pressing Ctrl + r to move backward)
|
||||||
|
Ctrl + l : Clear the terminal
|
||||||
Ctrl + s : to stop output to terminal.
|
Ctrl + s : to stop output to terminal.
|
||||||
Ctrl + q : to resume output to terminal after Ctrl + s.
|
Ctrl + q : to resume output to terminal after Ctrl + s.
|
||||||
Ctrl + a : move to the beginning of line.
|
Ctrl + a : move to the beginning of line.
|
||||||
@ -43,6 +44,8 @@ Ctrl + d : if you've type something, Ctrl + d deletes the character under the cu
|
|||||||
Ctrl + k : delete all text from the cursor to the end of line.
|
Ctrl + k : delete all text from the cursor to the end of line.
|
||||||
Ctrl + x + backspace : delete all text from the beginning of line to the cursor.
|
Ctrl + x + backspace : delete all text from the beginning of line to the cursor.
|
||||||
Ctrl + t : transpose the character before the cursor with the one under the cursor, press Esc + t to transposes the two words before the cursor.
|
Ctrl + t : transpose the character before the cursor with the one under the cursor, press Esc + t to transposes the two words before the cursor.
|
||||||
|
Ctrl + w : delete the word before the cursor.
|
||||||
|
Ctrl + u : delete the line before the cursor.
|
||||||
Ctrl + x + Ctrl + e : launch editor define by $EDITOR
|
Ctrl + x + Ctrl + e : launch editor define by $EDITOR
|
||||||
```
|
```
|
||||||
##### Change case
|
##### Change case
|
||||||
|
Loading…
Reference in New Issue
Block a user