ubuntu edit a file from command line code example
Example 1: command to edit in terminal linux
type nano followed by the file name
Example 2: nano edit a file
# Linux select a file using Nano
sudo nano edit "File name"
type nano followed by the file name
# Linux select a file using Nano
sudo nano edit "File name"