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.
The key sequence is M-d
in bash
, i.e. Alt+D or Esc+D.
This invokes the kill-word
Readline function:
kill-word
(M-d
)Kill from point to the end of the current word, or if between words, to the end of the next word. Word boundaries are the same as those used by
forward-word
.
The above is taken from the bash
manual.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다