Is there a command I can use to find a certain word in a file? I tried using the find command without any success.
Asked
Active
Viewed 112 times
0
muru
- 207,228
1 Answers
4
Yep. grep will be your friend here.
Simply do something like this:
cat file.txt | grep wordtomatch
You'reAGitForNotUsingGit
- 14,969