Difference between revisions of "Bash Shell"

From 6bit.ch wiki
Jump to navigation Jump to search
Line 17: Line 17:
<code>CTRL + _</code> undo typing</br>
<code>CTRL + _</code> undo typing</br>


=== Misc, useful ===
=== Misc ===


<code>CTRL + r</code> backward search</br>
<code>CTRL + r</code> backward search</br>
Line 23: Line 23:
<code>CTRL + q</code> resume output</br>
<code>CTRL + q</code> resume output</br>
<code>CTRL + d</code> escape current shell or delete character under cursor</br>
<code>CTRL + d</code> escape current shell or delete character under cursor</br>
 
<code>CTRL + t</code> switch character before cursor with cursor</br>
=== Misc ===
 
<code>CTRL + t</code> switch character before cursor with cursor, ESC + t switches two words before the cursor</br>
<code>CTRL + x + CTRL + e</code> lauch editor ($EDITOR)</br>

Revision as of 22:28, 5 May 2022

CTRL Hotkeys

Navigation

CTRL + a move to beginning
CTRL + e move to end
CTRL + n down arrow
CTRL + p up arrow

Text Control

CTRL + l clear
CTRL + k delete all from cursor to end
CTRL + u cut before cursor
CTRL + w cut word
CTRL + y paste
CTRL + _ undo typing

Misc

CTRL + r backward search
CTRL + s stop output
CTRL + q resume output
CTRL + d escape current shell or delete character under cursor
CTRL + t switch character before cursor with cursor