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
  • Thesis topics
  • Publications
  • Curated awesome list of CLI apps
  • Last updates (English)

  • Projects ()
  • Students and theses ()
  • Students and theses - English ()
  • Shortcuts for Bash ()
  • I finally removed all the Javascript from this site ()
  • Terminal-friendly tmux cheatsheet ()
  • Reply-to-all: this is the way ()
  • Last updates (Italian)

  • Risultati FdI 28 Luglio 2022 ()
  • Risultati FdI 29 Giugno 2022 ()
  • Interfacciamento client-server con il simulatore di propagazione del calore Energy2D ()
  • Studenti e tesi ()
  • Efficienza energetica ()
  • Imaging e multimedia ()
  • IoT, embedded systems and remote sensing ()
  • List of categories

    article article_en article_it courses fdi lang_en lang_it latex project research results robotics software teaching thesis tips