Difference between revisions of "Bash Shell"

From 6bit.ch wiki
Jump to navigation Jump to search
Line 15: Line 15:
<code>CTRL + k</code> cut after cursor</br>
<code>CTRL + k</code> cut after cursor</br>
<code>CTRL + l</code> clear</br>
<code>CTRL + l</code> clear</br>
<code>CTRL + t</code> switch cursor with preceding character</br>
<code>CTRL + u</code> cut before cursor</br>
<code>CTRL + u</code> cut before cursor</br>
<code>CTRL + w</code> cut word before cursor</br>
<code>CTRL + w</code> cut word before cursor</br>

Revision as of 23:50, 5 January 2023

Hotkeys

Navigation

CTRL + a move to beginning
CTRL + e move to end

ALT + f move forward by one word
ALT + b move backward by one word

CTRL + n down arrow
CTRL + p up arrow

Text Control

CTRL + k cut after cursor
CTRL + l clear
CTRL + u cut before cursor
CTRL + w cut word before cursor
CTRL + y paste
CTRL + _ undo typing
ALT + r undo changes made to command from history

Misc

CTRL + r backward search
CTRL + g leave search without running a command CTRL + j copy current matched command to cli without running it 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