Skip to content

Instantly share code, notes, and snippets.

@fahadsiddiqui
Created February 20, 2024 14:44
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 fahadsiddiqui/2511befe1fc043273b57c3305bf949ca to your computer and use it in GitHub Desktop.
Save fahadsiddiqui/2511befe1fc043273b57c3305bf949ca to your computer and use it in GitHub Desktop.
Find/grep all occurrences of certain string in all the files ending with certain extension.
find . -type f -name "*.env" | xargs grep "HTTP_PORT"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment