#TIL : Bash shell shortcuts

Mar 26, 2016 4 mins read 8d4302659

Bash shell shortcuts

  • Ctrl + e : jump cursor to EOL
  • Ctrl + a : jump cursor to BOL (beginning of line)
  • Ctrl + u : delete all from cursor to BOL
  • Ctrl + k : delete all from cursor to EOL
  • Ctrl + r : search history, press again for next search
  • Ctrl + l : clear shell screen
  • Ctrl + c : terminate the command (sometimes have to press twice)
  • Ctrl + z : suspend the command, back to shell. Run fg to resume the command
comments powered by Disqus