Linux到底有多强?你应该知道的Linux技巧
51CTO 发表于:13年01月16日 10:00 [转载] 51CTO
日常
- find . -name \*.py | xargs grep some_function
- cat hosts | xargs -I{} ssh root@{} hostname
- # do something in current dir
- (cd /some/other/dir; other-command)
- # continue in original dir
如果你有输了个命令行,但是你改变注意了,但你又不想删除它,因为你要在历史命令中找到它,但你也不想执行它。那么,你可以按下 Alt-# ,于是这个命令关就被加了一个#字符,于是就被注释掉了。 << 上一页 1 2
- TCPKeepAlive=yes
- ServerAliveInterval=15
- ServerAliveCountMax=6
- StrictHostKeyChecking=no
- Compression=yes
- ForwardAgent=yes
