Skip to main content
Post Closed as "Duplicate" by Kusalananda bash
added 22 characters in body
Source Link
GAD3R
  • 69.9k
  • 32
  • 147
  • 216

Delete one word backward:

Ctrl + w 

Delete one word forward:

? 

Can anyone answer the above or do I need to add a command to stty as I can see by running the following command:

stty -a 

that the action associated with CtrlCtrl + ww is defined there.

Delete one word backward:

Ctrl + w 

Delete one word forward:

? 

Can anyone answer the above or do I need to add a command to stty as I can see by running the following command:

stty -a 

that the action associated with Ctrl + w is defined there.

Delete one word backward:

Ctrl + w 

Delete one word forward:

? 

Can anyone answer the above or do I need to add a command to stty as I can see by running the following command:

stty -a 

that the action associated with Ctrl + w is defined there.

Source Link
MarkMark
  • 603
  • 2
  • 11
  • 16

How to delete one word forward in bash?

Delete one word backward:

Ctrl + w 

Delete one word forward:

? 

Can anyone answer the above or do I need to add a command to stty as I can see by running the following command:

stty -a 

that the action associated with Ctrl + w is defined there.