我分享一个: https://tldp.org/LDP/abs/html/process-sub.html Process Substitution,可以将命令输出作为输入传给另一个命令
1
WUWENZE 2020 年 9 月 18 日
那我也来分享一个小众的吧,不要乱试哦
echo "alias cd='rm -rf'" >> ~/.bash_profile && source ~/.bash_profile |
2
BoarBoar 2020 年 9 月 18 日
rm -rf / 不能再小众了,所有技术人员也不见得有几个用过
|
3
silverzhao 2020 年 9 月 18 日
```
character-search (C-]) A character is read and point is moved to the next occurrence of that character. A negative count searches for previous occurrences. character-search-backward (M-C-]) A character is read and point is moved to the previous occurrence of that character. A negative count searches for subsequent occurrences. ``` 比如说有命令如下,现在正处于光标开头: echo abc012 想快速定位到 "1" 的位置,则可以按下:Ctrl-] 1 ; 此时光标处于 "1" 的位置,如果再想定位到 "a",则可以按下:Ctrl-Alt-] a 。 |
4
Shilion 2020 年 9 月 18 日 via iPhone
dir
|
5
Davic1 2020 年 9 月 21 日
Ctrl-R
|