how to overwrite the contents of a configuration file in linux code example Example: linux edit file sudo nano filename.ext