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
0xkoji -
Sunny Bhambhani -
Dmitry Romanoff -
Kelvin Hey -
Top comments (0)