Read this guide to learn how to use the sed command to find and replace a all instances of a string in a file.