Skip to content

Instantly share code, notes, and snippets.

@B3nnyL
Created September 7, 2019 06:56
Show Gist options
  • Save B3nnyL/fb10abb1f5c1729c2524fa705f6ea531 to your computer and use it in GitHub Desktop.
Save B3nnyL/fb10abb1f5c1729c2524fa705f6ea531 to your computer and use it in GitHub Desktop.
Quickly find files that contain a string in a directory
# qfind - used to quickly find files that contain a string in a directory
qfind () {
find . -exec grep -l -s $1 {} \;
return 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment