Replace text in one or multiple files with Perl

perl -pi -e ‘s/178/188/g’ file1 file2 file3

Advertisements