Chris@feddit.uk to Comic StripsEnglish · 4 months agoFiles [Admiral Wonderboat]files.mastodon.socialimagemessage-square28linkfedilinkarrow-up1422arrow-down112file-text
arrow-up1410arrow-down1imageFiles [Admiral Wonderboat]files.mastodon.socialChris@feddit.uk to Comic StripsEnglish · 4 months agomessage-square28linkfedilinkfile-text
minus-squareindepndntlinkfedilinkarrow-up1·4 months agoI 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!
minus-squaretequinhulinkfedilinkarrow-up2·4 months ago case insensitive rrecursive only show filenames I also like to use: I (capital i) to skip binary files, if I’m in a folder with heavy images/videos/etc c 3 to show 3 lines around the matched text
minus-squarenaticuslinkfedilinkEnglisharrow-up2·4 months agoThis’ll help: https://explainshell.com/explain?cmd=grep+-irl+"some+text"
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!
i
nsensitiver
recursivel
enamesI 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 textThis’ll help:
https://explainshell.com/explain?cmd=grep+-irl+"some+text"