There are many files in a directory and its sub-directories that conatin the string pattern "pa". I want to replace all such instances with the pattern "pranavagarwal"
doing a
grep "pa" `ls`
does give me all the instances of the occurence of that paatern.
Do i need a sed script in conjunction with this grep to replace all occurences?
What options do i have to do it, I mean, can I do it in more than one way?