how to edit a file in linux using shell script code example Example: linux edit file sudo nano filename.ext