Difference between revisions of "Bash Shell"

From 6bit.ch wiki
Jump to navigation Jump to search
(Created page with "= CTRL Hotkeys = CTRL + a</br> move to beginning CTRL + d</br> escape current shell or delete character under cursor CTRL + e</br> move to end CTRL + k</br> delete all from cursor to end CTRL + l</br> clear CTRL + n</br> down arrow CTRL + p</br> up arrow CTRL + q</br> resume output CTRL + r</br> backward search CTRL + s</br> stop output CTRL + t</br> switch character before cursor with cursor, ESC + t switches two words before the cursor CTRL + u</br> cut lin...")
 
Line 1: Line 1:
= CTRL Hotkeys =
== CTRL Hotkeys ==


CTRL + a</br>
=== Navigation ===
move to beginning


CTRL + d</br>
<code>CTRL + a</code> move to beginning</br>
escape current shell or delete character under cursor
<code>CTRL + e</code> move to end</br>
<code>CTRL + n</code> down arrow</br>
<code>CTRL + p</code> up arrow</br>


CTRL + e</br>
move to end


CTRL + k</br>
delete all from cursor to end


CTRL + l</br>
=== Text Control ===
clear


CTRL + n</br>
<code>CTRL + l</code> clear</br>
down arrow
<code>CTRL + k</code> delete all from cursor to end</br>
<code>CTRL + u</code> cut line</br>
<code>CTRL + w</code> cut word</br>
<code>CTRL + y</code> paste</br>
<code>CTRL + _</code> undo typing</br>


CTRL + p</br>
=== Misc, useful ===
up arrow


CTRL + q</br>
<code>CTRL + r</code> backward search</br>
resume output
<code>CTRL + d</code> escape current shell or delete character under cursor</br>
<code>CTRL + s</code> stop output</br>
<code>CTRL + q</code> resume output</br>


CTRL + r</br>
=== Misc ===
backward search


CTRL + s</br>
<code>CTRL + t</code> switch character before cursor with cursor, ESC + t switches two words before the cursor</br>
stop output
<code>CTRL + x + CTRL + e</code> lauch editor ($EDITOR)</br>
 
CTRL + t</br>
switch character before cursor with cursor, ESC + t switches two words before the cursor
 
CTRL + u</br>
cut line
 
CTRL + _</br>
undo typing
 
CTRL + w</br>
cut word
 
CTRL + y</br>
paste
 
CTRL + x + bspace</br>
delte all from beginning to cursor
 
CTRL + x + CTRL + e</br>
lauch editor ($EDITOR)

Revision as of 22:16, 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 line
CTRL + w cut word
CTRL + y paste
CTRL + _ undo typing

Misc, useful

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

Misc

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