11.3 从指定类型文件中查找

1 find . -name '*.c' | awk '{print "grep -i -nH keyword "$1}' | /bin/bash

2 find . -name '*.c' -exec grep -i -nH "keyword" {} \;

Copyright © DOSU community 2020 all right reserved,powered by Gitbook该文章修订时间: 2020-09-12 13:04:39

results matching ""

    No results matching ""