Difference between revisions of "Bash Shell"

From 6bit.ch wiki
Jump to navigation Jump to search
Line 7: Line 7:
<code>CTRL + n</code> down arrow</br>
<code>CTRL + n</code> down arrow</br>
<code>CTRL + p</code> up arrow</br>
<code>CTRL + p</code> up arrow</br>


=== Text Control ===
=== Text Control ===

Revision as of 22:19, 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)