copy file_to_modify temp_file # modify file cat temp_file > file_to_modify