UNIX

Replace strings in all files in a folder

To replace a string within all files in the current folder you can use a simple perl command,
$> perl -p -i -e 's/chicken/egg/' *
This command will replace all occurrences of the word chicken with the word egg, in all files in the current directory.