LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   i need to grep "../../usr/share/wordpress" (https://www.linuxquestions.org/questions/linux-newbie-8/i-need-to-grep-usr-share-wordpress-800971/)

oznola 04-09-2010 03:49 AM

i need to grep "../../usr/share/wordpress"
 
hi,

i need to grep "../../usr/share/wordpress" and change it back to its proper value.

i used to know how to do this but i forgot how.

i would like grep to tell me what file this string is in.

please advise.:doh:

evo2 04-09-2010 04:00 AM

Perhaps you are looking for something like:

Code:

cd /
grep -R "../../usr/share/wordpress" *

Evo2.

oznola 04-09-2010 04:08 AM

thanks evo2

grail 04-09-2010 05:04 AM

When you get stuck, don't forget your man pages :)
Please remember to mark as SOLVED.


All times are GMT -5. The time now is 06:15 PM.