Useful Linux Command Line Editing Shortcuts

Useful Linux Command Line Editing Shortcuts


There are several other command line-editing commands available, but these are the most useful commands for beginning users.



Shortcut Description
Ctrl+a Jump to the beginning of the command line.
Ctrl+e Jump to the end of the command line.
Ctrl+u Clear from the cursor to beginning of the command line.
Ctrl+k Clear from the cursor to end of the command line.
Ctrl+Left Arrow Jump to the beginning of the previous word on the command line.
Ctrl+Right Arrow Jump to the beginning of the next word on the command line.
Ctrl+r Search the history list of command for a pattern.




Tech info

Comments