Skip to content

Instantly share code, notes, and snippets.

View Aadiitya420's full-sized avatar
🎯
Focusing

Aadiitya Patil Aadiitya420

🎯
Focusing
  • Belgaum , Karnataka .
View GitHub Profile
@Aadiitya420
Aadiitya420 / shortcuts.md
Created December 20, 2024 14:00 — 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