Hi,

[EMAIL PROTECTED] wrote:
> is there a tool to change all occurences of a servers ip-address?

in bash:

for file in /etc/*; do
  perl -pi -e "s/12.34.56.78/23.34.45.56/ $file;"
done


(not tested - make a backup before)

Mike


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to