#TIL : Bash shell shortcuts


26 Mar 2016 / by KhanhIceTea

  • 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

Sound good ?