Technology Blog
Saturday, 7 January 2017
Bash 中快速删除单词和行
在 bash里,使用
Ctrl-W
来删除最后一个单词,使用
Ctrl-U
来删除一行。请man bash后查找Readline Key Bindings一节来看看bash的默认热键,比如:Alt-. 把上一次命令的最后一个参数打出来。
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment