grep -ri "string" .
will do a case-insensitive search for "string" inside "."find . -type f -iname '*pattern*
will do a case-insensitive search for file names that match given pattern inside "."
Last active
April 16, 2024 20:53
-
-
Save izzygomez/0606a4e47c0017cd0702286ae15b54c2 to your computer and use it in GitHub Desktop.
`find`/`grep` usage for searching files
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment