Skip to content

Instantly share code, notes, and snippets.

@eddydarell
Created July 27, 2021 14:15
Show Gist options
  • Select an option

  • Save eddydarell/984284d6b5d129d2140a2ed4e5706750 to your computer and use it in GitHub Desktop.

Select an option

Save eddydarell/984284d6b5d129d2140a2ed4e5706750 to your computer and use it in GitHub Desktop.
Get all the files containing a phrase on Unix based system

Get all files containing a phrase on a Unix based system like Linux or MacOs

grep -rnw [path/to/somehting] -e "[phrase]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment