Some Essentials Bash Shortcuts
Navigation Shortcuts:
Ctrl + a :
Move to the beginning of the line.
Ctrl + e :
Move to the end of the line.
Ctrl + b :
Move back one word.
Alt+b, Esc+b :
Move backward one word
Alt+f, Esc+f :
Move forward one word
Ctrl + f :
Move forward one word.
Ctrl + xx :
Move between the beginning and current cursor position.
Ctrl + a
Ctrl + e
Ctrl + b
Alt+b, Esc+b
Alt+f, Esc+f
Ctrl + f
Ctrl + XX
? Editing Shortcuts:
Ctrl + U :
Delete from the cursor to the beginning of the line.
Ctrl + K :
Delete from the cursor to the end of the line.
Ctrl + W :
Delete the word before the cursor.
Ctrl + Y :
Paste the last deleted text.
Ctrl + _ :
Undo the last change.
CTRL + u
CTRL + k
CTRL + w
CTRL + y
CTRL + _
? History Shortcuts
领英推荐
CTRL + R :
Search history (start typing to search, press CTRL + R again to find the next match).
CTRL + G :
To leave the history searching mode and clear the line.
Up Arrow or Ctrl + P :
Navigate up through command history.
Down Arrow or Ctrl + N :
Navigate down through command history.
*Alt + .* or ***Esc + .*** :
Paste the last argument of the previous command.
CTRL + r
CTRL + g
Up Arrow or Ctrl + P
Down Arrow or Ctrl + N
Alt + . or Esc + .
?Miscellaneous Shortcuts
Ctrl + C :
Terminate the current command.
Ctrl + D :
Exit the shell (or send EOF if the line is empty).
Ctrl + Z :
Suspend the current command (use g to resume).
Ctrl + L :
Clear the screen.
CTRL + shift + c
To copy text in terminal
CTRL + alt + t
To open a terminal
Alt+r, Esc+r
Undo all changes to the line
CTRL + c
CTRL + d
CTRL + z
CTRL + l
CTRL + shift + c
CTRL + alt + t
Alt+r, Esc+r
?? If you are reading this article, I'm planning to open a Linux community in telegram DM me for the channel link.
?If you find my article useful and interesting, stay tuned for further updates and future articles?
???? Vijay Pandey
Linux Ubuntu | React Js | Python |
9 个月Very helpful!