Files [Admiral Wonderboat]
Files [Admiral Wonderboat]
You're viewing a single thread.
All Comments
29 comments
grep -irl "some text that the file would have"
(Obiously only work for text files, but that's enough to cover 90% of cases for me)
14 1 ReplyNow we need a /c/grep_irl
13 0 ReplyThat's a solid windows shame.
4 0 ReplyFun fact: I use "git bash shell" over windows' cmd just because of grep
1 0 ReplyYou can also use WSL to get a full Linux there. If WSL1 is still available, it would be better for this use case.
1 0 Reply
I don't know what those flags mean, but from context I think this is a command I've needed a bunch of times but haven't had the time or energy to learn about yet. So thanks! I can't wait to try it!
1 0 Reply2 0 Reply- case
i
nsensitive r
recursive- only show fi
l
enames
I also like to use:
I
(capital i) to skip binary files, if I'm in a folder with heavy images/videos/etcc 3
to show 3 lines around the matched text
2 0 Reply- case
29 comments
Scroll to top