Skip to content

Instantly share code, notes, and snippets.

@CharlyPoppins
Forked from kevin-smets/findStringInFile.sh
Created May 2, 2017 17:11
Show Gist options
  • Save CharlyPoppins/ec70e79ace78e60f2177490d837859c0 to your computer and use it in GitHub Desktop.
Save CharlyPoppins/ec70e79ace78e60f2177490d837859c0 to your computer and use it in GitHub Desktop.
Find text in files and show file name + line number
find . -type f -name "*.scss" -exec bash -c 'grep -rin calc ${0};' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment