Replace A String In The File Using Perl

It is easier to use perl than sed to replace a string using perl.Try this.perl -pi -e ’s/existing_string/new_string/g’ file_name-Vigyan

Leave a Reply