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
*.txtfiles
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
Top comments (0)