This tip works on both Linux and macOS.
grep -lr "my text" *.txt
This command:
- list files with the pattern
my text
- recursively
- in all
*.txt
files
This tip works on both Linux and macOS.
grep -lr "my text" *.txt
This command:
my text
*.txt
filesFor further actions, you may consider blocking this person and/or reporting abuse
Elif Nur Turk -
Oliver Bennet -
Chandrashekhar Mehta -
Md Abu Musa -
Top comments (0)