command to edit in terminal linux

Shell
type nano followed by the file name
Source

Also in Shell: