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
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