怎么在所有的.py .txt .cpp文件 中grep “abc”和“123”两个字符串

如何在所有的.py.txt .cpp文件 中grep “abc”和“123”两个字符串?如何在所有的.py.txt .cpp文件 中grep “abc

如何在所有的.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
……