bash shortcuts

JUMPS

  • ctl + a - jump to the start
  • ctl + e - jump to the end
  • alt + b - move backward a word
  • alt + f - move forward a word

DELETES

  • alt + d - delete a word
  • ctl + w - delete a word backward
  • ctl + k - delete to EOL

FULL LIST

SHORTCUT DESCRIPTION
ctl + a jump to the start of the line
ctl + b move back a char
ctl + c terminate the command
ctl + d delete from under the cursor
ctl + e jump to the end of the line
ctl + f move forward a char
ctl + k delete to EOL
ctl + l clear the screen
ctl + r search the history backwards
ctl + R search the history backwards with multi occurrence
ctl + u delete backward from cursor
ctl + z suspend/stop the command
ctl + xx move between EOL and current cursor position
ctl + x @ show possible hostname completions
alt + < move to the first line in the history
alt + > move to the last line in the history
alt + ? show current completion list
alt + * insert all possible completions
alt + / attempt to complete filename
alt + . yank last argument to previous command
alt + b move backward
alt + c capitalize the word
alt + d delete word
alt + f move forward
alt + l make word lowercase
alt + n search the history forwards non-incremental
alt + p search the history backwards non-incremental
alt + r recall command
alt + t move words around
alt + u make word uppercase
alt + backspace delete backward from cursor