Show Menu

Basic Bash Keyboard Shortcuts by

This cheatcheat will help you to improve your skills in bash, There are 2 columns, the left one is the command in parent­hesis ex (C-j) = Ctrl + j and the right one will do a simple descri­ption. - The Notes Section could help to resolve some problems or include features into your Terminal. - Finally this is only the the basic commands, but if you want to know more. check the More Info Section. You could find advance shortcuts that can help to improve your skills

Basic Bash

Last Update
| Im_tavo |

Basic Shortcuts

complete: Attempt to perform completion on the text before point. [more]
⏎ accept­-line: Send a newline (
interrupt (kill): The current foreground process running in in the terminal. [more]
end-of­-file (EOF): If there are no chars on the line, Readline returns EOF
suspend: stop the program execution.
to resume,
jobs -l
to list and
kill <id>
to close it [more]
insert­-la­st-­arg­ument : Move 'backw­ards' through the previous aguments
previo­us-­his­tory: Move ‘backward’ through the history list, fetching the previous command.
next-h­istory: Move ‘forward’ through the history list, fetching the next command.
revers­e-s­ear­ch-­his­tory: Search 'backward' through the history. This is an increm­ent­al-­search.
forwar­d-s­ear­ch-­his­tory: Search 'forward' through the history. Important! You need to disable the xon first to use it (
stty -ixon
beginn­ing­-of­-line: Move to the start of the line.
ending­-of­-line: Move to the end of the line
backwa­rd-­word: Move backward a word
backwa­rd-­char: Move backward a character.
forwar­d-word: Move forward a word
forwar­d-char: Move forward a character.
unix-l­ine­-di­scard: 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­-ba­ckw­ard­-word: Kill the word behind point (BS = backspace)
delete­-fo­rwa­rd-­wrord: Kill from point to the end of the current word
clear-­screen: Clear the screen, reprinting the current line at the top.
undo: Increm­ental undo, separately remembered for each line.
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
transm­it-off (XOFF): Stops the data flow from the keyboard [more]
transm­it-on (XON): Enable the data flow and release all the info contained [more]
: Control key =

: Meta key [] =
, [] =
(check Notes)
It is a loose convention that
operate on
operate on
. [more]
‘Cut’ and ‘paste’ are more recent jargon for ‘kill’ and ‘yank’.


For Firefox users: Cheath­ography uses a preload option to load the icons and firefox disable it by default. To enable it. Write this in the URL bar
, search the
option and set it

You can find more info in this link [more]
For Mac users: The
key is setted to the
, but you can set the
key as well. Just open the terminal and go to
Terminal > Prefer­ences > Basic Default > Keyboard > Use option as meta key

If you need more inform­ation, read this tutorial [more]
Spanish Keyboard Mac users: There are some users that say that the config­uration of
key above can disable some keys like
For Windows user There are some ways tu use the bash shortcuts in terminal. if you want to use the native powers­hell, check this [Article] to see how to use Bash shortcuts
I really loved doing this cheats­heet, I expect that it could helps you

More Info



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
          Bash Script Colors Cheat Sheet

          More Cheat Sheets by gamejia90

          Vimtutor Cheat Sheet
          Full Bash Shortcuts Cheat Sheet