Difference between revisions of "Bash Shell"

From 6bit.ch wiki
Jump to navigation Jump to search
Line 14: Line 14:
<code>CTRL + l</code> clear</br>
<code>CTRL + l</code> clear</br>
<code>CTRL + k</code> delete all from cursor to end</br>
<code>CTRL + k</code> delete all from cursor to end</br>
<code>CTRL + u</code> cut line</br>
<code>CTRL + u</code> cut before cursor</br>
<code>CTRL + w</code> cut word</br>
<code>CTRL + w</code> cut word</br>
<code>CTRL + y</code> paste</br>
<code>CTRL + y</code> paste</br>
Line 22: Line 22:


<code>CTRL + r</code> backward search</br>
<code>CTRL + r</code> backward search</br>
<code>CTRL + d</code> escape current shell or delete character under cursor</br>
<code>CTRL + s</code> stop output</br>
<code>CTRL + s</code> stop output</br>
<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>


=== Misc ===
=== Misc ===

Revision as of 22:18, 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, useful

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

Misc

CTRL + t switch character before cursor with cursor, ESC + t switches two words before the cursor
CTRL + x + CTRL + e lauch editor ($EDITOR)