linux edit file

Shell
sudo nano filename.ext
Source

Also in Shell: