Skip to content

Instantly share code, notes, and snippets.

@hannic
Last active December 19, 2015 17:59
Show Gist options
  • Save hannic/5995288 to your computer and use it in GitHub Desktop.
Save hannic/5995288 to your computer and use it in GitHub Desktop.
search in all the C++ files for some "keyword" in various directories and sub-directories
$find . -name \*.cpp -exec grep -q "keyword" '{}' \; -print
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment