Timeline for How can I use grep to find a word inside a folder?
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 9, 2020 at 8:06 | history | edited | vvvvv | CC BY-SA 4.0 |
added 8 characters in body
|
Nov 9, 2010 at 6:38 | comment | added | usta |
@kiki: -r for grep means search in subdirectories recursively and -n means prefix each line of output with the corresponding line number of the file which contains that line. man grep describes all of this, and much more.
|
|
Nov 9, 2010 at 6:30 | comment | added | usta |
@kiki: Yes, which is equivalent to grep -inr "my word" .
|
|
Nov 9, 2010 at 4:22 | vote | accept | kiki | ||
Feb 5, 2013 at 2:00 | |||||
Nov 9, 2010 at 4:21 | comment | added | kiki | Hey, so if i want to search for a string irrespective of the case, must I do this: grep -i -nr "my word" . | |
Nov 8, 2010 at 7:05 | history | edited | usta | CC BY-SA 2.5 |
added 486 characters in body; added 2 characters in body
|
Nov 8, 2010 at 6:54 | history | answered | usta | CC BY-SA 2.5 |