Skip to content

Latest commit

 

History

History
53 lines (42 loc) · 2.39 KB

terminal-keys-chtsht.md

File metadata and controls

53 lines (42 loc) · 2.39 KB

Bash Keybindings Cheatsheet

Keybindings

Basic

Action Keybind
Open a new terminal ^ + ⌥ + T
Logout of the current session ^ + D
Halts the current command ^ + C
Stops current command and runs it in the background ^ + Z
Clear the terminal ^ + L
Auto-completion of file or command
Move up and down history commands ↑ or ↓

Move Cursor

Action Keybind
Move cursor to the beginning of line ^ + A or
Move cursor to the end of line ^ + E or
Move cursor forward one character ^ + F or
Move cursor backward one character ^ + B or
Move cursor forward one word ⌥ + F or ⌥ + →
Move cursor backward one word ⌥ + B or ⌥ + ←

Modify Text

Action Keybind
Delete all to the left of the cursor ^ + U
Delete all to the right of the cursor ^ + K
Delete word on the left ^ + W
Delete character on cursor ^ + D
Paste (after ^ U, K or W) ^ + Y
Exchange character at cursor with preceding ^ + T
Exchange word at cursor with preceding ⌥ + T
Convert to uppercase the right of the cursor ⌥ + U
Convert character to uppercase at cursor ⌥ + L

Other

Action Keybind
Reverse search history ^ + R
Repeat last typed command ! + !

References