Delete to beginning of current word in Bash

Instead of pressing backspace repeatedly, press ESC then Backspace.


Don't you want more? here's some

  • how to delete to the end of the line? Ctrl + k
  • how to delete to the beginning of the line? Ctrl + u
  • Simply move the cursor to the line of the beginning? Ctrl + a

Want a full list?

Here you are