Skip to content

Instantly share code, notes, and snippets.

@arieljannai
Created September 12, 2016 11:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arieljannai/4e941233de49ae5ad4bd66eb637f933d to your computer and use it in GitHub Desktop.
Save arieljannai/4e941233de49ae5ad4bd66eb637f933d to your computer and use it in GitHub Desktop.
grep -r -I ":8443" . --exclude="*.log" --exclude="*.csv" --exclude-dir=".git" --exclude-dir="node_modules"
find . -type f -not \( -name "*.log" -o -name "*.csv" -o -name "*.png" -o -name "*.jpg" -o -name "*.gif" -o -path "*/.git/*" -o -path "*/node_modules/*" -prune \) -exec grep -n ':8443' {} /dev/null \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment