how to edit text file in linux with terminal code example
Example 1: command to edit in terminal linux
type nano followed by the file name
Example 2: linux edit file
sudo nano filename.ext
type nano followed by the file name
sudo nano filename.ext