perl -p -i.bak -e 's/127\.0\.0\.1/10\.1\.1\.244/' *
MORE: http://technosophos.com/content/perl-pie-if-you-only-learn-how-do-one-thing-perl-it