User Tools

Site Tools


linux:commands:perl

Modify a line in a number of files

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

linux/commands/perl.txt · Last modified: 2021/02/16 09:56 (external edit)