grep -s 去掉 no such file or directory

遇到好多次了, 用grep -rn "xxxx" ./   搜索。 有时候出现大量的 no such file or directory  导致搜索到的内容淹没其中。


grep -rn -s "xxxx"  ./    就不会打印出烦人的no such file or directory 了。

猜你喜欢

转载自blog.csdn.net/liubangbo/article/details/80853319