如何快速删除命令行中的字符?


在 linux 系统使用 terminal, 比如:


 $ cd /usr/src/awesome

如果光标在中间: $ cd /usr/src/

想快速删除光标之前或之后的所有字符怎么做?

Linux terminal

se⑦en 9 years, 2 months ago

如果是bash的话:

之前:Ctrl + u
之后:Ctrl + k

Mwolf answered 9 years, 2 months ago

Your Answer