Difference between revisions of "Bash Shell"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
== | == Hotkeys == | ||
=== Navigation === | === Navigation === | ||
| Line 5: | Line 5: | ||
<code>CTRL + a</code> move to beginning</br> | <code>CTRL + a</code> move to beginning</br> | ||
<code>CTRL + e</code> move to end</br> | <code>CTRL + e</code> move to end</br> | ||
<code>ALT + f</code> move forward by one word</br> | |||
<code>ALT + b</code> move backward by one word</br> | |||
<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> | ||
| Line 11: | Line 15: | ||
<code>CTRL + l</code> clear</br> | <code>CTRL + l</code> clear</br> | ||
<code>CTRL + k</code> | <code>CTRL + k</code> cut after cursor</br> | ||
<code>CTRL + u</code> cut before cursor</br> | <code>CTRL + u</code> cut before cursor</br> | ||
<code>CTRL + w</code> cut word</br> | <code>CTRL + w</code> cut word before cursor</br> | ||
<code>CTRL + y</code> paste</br> | <code>CTRL + y</code> paste</br> | ||
<code>CTRL + _</code> undo typing</br> | <code>CTRL + _</code> undo typing</br> | ||
<code>ALT + r</code> undo changes made to command from history</br> | |||
=== Misc === | === Misc === | ||
<code>CTRL + r</code> backward search</br> | <code>CTRL + r</code> backward search</br> | ||
<code>CTRL + g</code> leave search without running a command | |||
<code>CTRL + j</code> copy current matched command to cli without running it | |||
<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> | <code>CTRL + d</code> escape current shell or delete character under cursor</br> | ||
<code>CTRL + t</code> switch character before cursor with cursor</br> | <code>CTRL + t</code> switch character before cursor with cursor</br> | ||
Revision as of 09:32, 30 December 2022
Hotkeys
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 + l clear
CTRL + k cut after cursor
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