59 Shortcuts For Bash (Linux)
59 Shortcuts For Bash (Linux)
Ctrl+E/End Go to End of Line ^abc^def Run Previous Command,replacing abc with def
Control Character
Ctrl+2 ^@
Ctrl+3 ^[Escape
Ctrl+4 ^\
Ctrl+5 ^]
Ctrl+6 ^^
Ctrl+7 ^_Undo
Ctrl+8 ^? Backward Delete Char
Ctrl+V Display Sequence for Enter Key
History
Ctrl+R Recall Last Command
Ctrl+P Previous Command in History
Ctrl+N Next Command in History
Ctrl+S Go back to Next Most Recent Command
Ctrl+O Execute Command found via Ctrl+R/Ctrl+S
Ctrl+G Escape from History Searching Mode
!! Repeat Last Command
!abc Run Last Commnd Starting with abc
!abc:p Print last Command starting with abc
!$ Last Argument of Previous Command
https://shortcutworld.com/Bash/linux/Bash_Shortcuts