Tullio Facchinetti

Shortcuts for Bash

by Tullio Facchinetti

Categories: article lang_en article_en

Typically, we use arrow keys to control shell behaviors like moving the cursor from one point to another point. Also, it’s quite common to make mistakes while writing commands and to correct these you may use arrow keys + backspace, which is not optimal at all.

In the bash terminal, you can use several keystrokes to control the shell features that you are going to see.

Shortcuts to move cursor

The first thing you should know is how to move the cursor using the list of keystrokes that you can use to move around the shells.

Shortcuts to manipulate text

Does it make your work easier? Of course, yes. Now you will see more keystrokes that can manipulate text.

Common shortcuts

Some of the common keystrokes that you can use while working on the terminal are listed below.

The following are not strictly shortcuts, but commands that require an ENTER to be executed:


This list comes from this post. I replicated it here since I often have problems accessing the original post.


  • Students and theses
  • Publications
  • Thesis topics
  • Curated awesome list of CLI apps
  • Last updates (English)

  • Speed up the compilation of LaTex Beamer presentations ()
  • Students and theses ()
  • Students and theses - English ()
  • Learn enough C to survive ()
  • Workflow for writing theses collaboratively ()
  • Guidelines for theses and presentations ()
  • Projects ()
  • Last updates (Italian)

  • Risultati FdI 8 e 11 aprile 2024 ()
  • Risultati FdI 20 Febbraio 2024 ()
  • Risultati FdI 02 Febbraio 2024 ()
  • Risultati FdI 20-27 Novembre 2023 ()
  • Risultati FdI 28 Settembre 2023 ()
  • Risultati FdI 01 Settembre 2023 ()
  • Risultati FdI 27 Luglio 2023 ()
  • List of categories

    Article Article_en Article_it C Courses Fdi Lang_en Lang_it Latex Programming Project Research Results Robotics Software Teaching Thesis Tips