Skip to content

Instantly share code, notes, and snippets.

@barbagrigia
Forked from kevin-smets/findStringInFile.sh
Created September 21, 2017 23:42
Show Gist options
  • Save barbagrigia/0c5b5549b5de9a2bf7530b4460269467 to your computer and use it in GitHub Desktop.
Save barbagrigia/0c5b5549b5de9a2bf7530b4460269467 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