Last active
February 6, 2023 20:36
-
-
Save bonifazi/158cb26ddaa5edb35582bcad90b01efd to your computer and use it in GitHub Desktop.
grep commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# grep a string in multiple file names and include subdirectories | |
grep --include 'file1.txt' --include 'file2.txt' -rn --ignore-case TITLE directory1 directory2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment