# replace hamburgers with hotdogs in place in a file perl -p -i -e 's/hamburgers/hotdogs/g' juice_stand.txt