how to open a file in editor in terminal linux code example Example: linux edit file sudo nano filename.ext