ideas on a string search
Therhino
Member Posts: 122
Ok
I was tasked with trying to find and figure out which files need changed in the case of a hostname change or an ip change. Rather than reverse enigeering the entire build process i was wondering if there was a way to do a recursive search per ./ where i could just say enter /etc do say find ./ -string 192.168.1.100
thanks in advance for any insight commandline fu had something close but I couldnt work it....we are using rhel
I was tasked with trying to find and figure out which files need changed in the case of a hostname change or an ip change. Rather than reverse enigeering the entire build process i was wondering if there was a way to do a recursive search per ./ where i could just say enter /etc do say find ./ -string 192.168.1.100
thanks in advance for any insight commandline fu had something close but I couldnt work it....we are using rhel
Comments
-
Therhino Member Posts: 122thanks guys...really appreciate the help feel like super newb for how easy the answer is