grep 简介与应用

grep --include=\*.{c,h} -rnw '/path/to/somewhere/' -e "pattern"

参考资料

  1. How do I find all files containing specific text on Linux?

results matching ""

    No results matching ""