change file content bash code example Example: change file content bash sed -i 's/search_string/replace_string/' filename