find and replace

In-place find and replace using sed:

sed -i bak 's/old/new/g' *.txt