怎么在所有的.py .txt .cpp文件 中grep “abc”和“123”两个字符串 Home » IDC云服务 » 怎么在所有的.py .txt .cpp文件 中grep “abc”和“123”两个字符串 如何在所有的.py .txt .cpp文件 中grep “abc”和“123”两个字符串?如何在所有的.py .txt .cpp文件 中grep “abc”和“123”两个字符串? 探讨 引用: find . -name "*.py" -o -name "*.txt" -o "*.cpp" | xargs grep -E "abc|123" Mode$ find . -name "*.py" -o -name "*.txt" -o "*.cpp" | xargs grep -E "abc|123"find: 路径必须在表达式之前: *.cpp……