Show Menu

Basic Bash Keyboard Shortcuts by

Bash (Bourne-again shell) is a command language and an UNIX shell. This sheets show the basics commands to use it. Please comment your feedback and rate it.Last Update `2020-05-24`.

Basic Shortcuts

complete: Attempt to perform completion on the text before point. [more]
Interrupt (kill): The current foreground process running in in the terminal. [more]
previous-history: Move ‘backward’ through the history list, fetching the previous command.
next-history: Move ‘forward’ through the history list, fetching the next command.
reverse-search-history: Search 'backward' through the history. This is an incremental-search.
beginning-of-line: Move to the start of the line.
ending-of-line: Move to the end of the line
backward-word: Move backward a word
backward-char: Move backward a character.
forward-word: Move forward a word
forward-char: Move forward a character.
unix-line-discard: Kill 'backward' from the cursor to the beginning of the current line.
kill-line: Kill 'forward' from the cursor to the end of the current line.
delete-backward-word: Kill the word behind point
delete-forward-wrord: Kill from point to the end of the current word
clear-screen: Clear the screen, reprinting the current line at the top.
(C-x C-u)
undo: Increm­ental undo, separately remembered for each line.
revert-line: Undo all changes made to this line. This is like executing the undo command enough times to get back to the beginning.
yank: Yank the top of the kill-ring into the buffer at point. [more]
yank-pop: Rotate the kill-ring, and yank the new top. You can only do this if the prior command is yank or yank-­pop.
(C-): Control key = Ctrl
(M-): Meta key [Win] = Alt, [Mac] = CMD
It is a loose convention that (C-) operate on chars while (M-) operate on words. [more]
‘Cut’ and ‘paste’ are more recent jargon for ‘kill’ and ‘yank’.
Source: Bash Reference Manual


Last Update 2020-­05-24


No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Linux Command Line Cheat Sheet
          bash Shortcuts Cheat Sheet