Skip to content

Instantly share code, notes, and snippets.

@noherczeg
Created November 12, 2014 14:11
Show Gist options
  • Save noherczeg/5135cf22fa9e64827d72 to your computer and use it in GitHub Desktop.
Save noherczeg/5135cf22fa9e64827d72 to your computer and use it in GitHub Desktop.
linux command search for files containing string
grep -H -R "search string" /etc/* | cut -d: -f1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment