gpt4 book ai didi

file - 如何查找不包含给定字符串模式的文件?

转载 作者:行者123 更新时间:2023-12-03 03:54:47 24 4
gpt4 key购买 nike

如何找出当前目录中包含单词foo文件(使用grep)?

最佳答案

如果您的 grep 有 -L (或 --files-without-match)选项:

$ grep -L "foo" *

关于file - 如何查找不包含给定字符串模式的文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1748129/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com