Skip to content

Instantly share code, notes, and snippets.

View foriin's full-sized avatar

Artem Ilin foriin

  • Department of Molecular Biosciences, The Wenner-Gren Institute, Stockholm University
  • Stockholm, Sweden
View GitHub Profile
@foriin
foriin / shortcuts.md
Created April 5, 2024 17:15 — forked from memphys/shortcuts.md
Bash Shortcuts For Maximum Productivity

source: http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/

Command Editing Shortcuts

  • Ctrl + a – go to the start of the command line
  • Ctrl + e – go to the end of the command line
  • Ctrl + k – delete from cursor to the end of the command line
  • Ctrl + u – delete from cursor to the start of the command line
  • Ctrl + w – delete from cursor to start of word (i.e. delete backwards one word)
  • Ctrl + y – paste word or text that was cut using one of the deletion shortcuts (such as the one above) after the cursor