Keyboard Shortcuts at the Prompt

Ctrl+A and Ctrl+E jump to the start and end of the command line, Alt+B and Alt+F move a word at a time, Ctrl+W and Ctrl+U delete a word or the line, and Alt+. brings back the last command's last argument.

Updated

Cheat sheet for the lesson Keyboard Shortcuts at the Prompt: Ctrl+A and Ctrl+E jump to the start and end of the command line, Alt+B and Alt+F move a word at a time, Ctrl+W and Ctrl+U delete a word or the line, and Alt+. brings back the last command's last argument.
Category
Bash
Level
Apprentice
Tags
argument, Command Line, keyboard-shortcut, linux, unix