【技巧】在指定目录的所有c文件中查找xxx字符串

find ./ -name "*.c" -exec grep -in "xxx" {} \; -print

发布了8 篇原创文章 · 获赞 1 · 访问量 228

猜你喜欢

转载自blog.csdn.net/wenlong199/article/details/104500590
今日推荐