Grep不兑现--exclude-dir
/var由于挂在上,我无法搜索/var/run。我尝试排除/var/run,但未产生预期结果: $ sudo grep -IR --exclude-dir="/var/run" '45.78.157.165' /var | egrep -v '(audit|access)' /var/log/secure:Jun 21 14:08:34 cryptopp sshd[19729]: error: Received disconnect from 199.91.135.157: 3: com.jcraft.jsch.JSchException: reject HostKey: 45.78.157.165 [preauth] /var/log/secure-20160626:Jun 21 14:08:34 cryptopp sshd[19729]: error: Received disconnect from 199.91.135.157: 3: com.jcraft.jsch.JSchException: reject HostKey: 45.78.157.165 [preauth] /var/log/secure-20160626:Jun 21 14:08:34 cryptopp sshd[19729]: error: …