Replacing Text in files using Perl

perl -pi.bak -e “s/pattern/new_string/g” *

Leave a Reply


imed.ws - Imed Bouchrika Website© 2003-2007.