How-To Find and Replace in multiply files on the command line

Xterm.png

Find and Replace in multiply files.

including a Back-Up

perl -pe "s/mouse/chicken/g" -i.bak $FILES;

Or no Back-up

perl -pe  "s/mouse/chicken/g" -i $FILES;

# -e execute this command
# -p loop over each line and print
# -i inplace edit, make a backup file