我正在尝试运行该find命令以查找特定文本字符串的总出现次数以及包含此文本字符串的文件数。
find
我现在拥有的是这个命令。
find . -name "*.txt" | xargs grep -i "abc"
这会报告所有包含文本“abc”的“*.txt”文件。我想要一两个 find 命令来获取
shell grep find search
find ×1
grep ×1
search ×1
shell ×1