On the bash command-line, how do you cut the word

2019-02-21 08:42发布

问题:

On the bash command-line, how do you cut the word immediately after the cursor? Ctrl-w cuts the word before it.

回答1:

I usually do this using Alt-d. You can look up "readline emacs shortcuts".