This is quite a simple question:
I just need to open a file (this filename is galfit.feedme). I can view the file with view galfit.feedme when I\'m in the directory
Open the file using vi or nano. and then press " i " ,
For save and quit
Enter Esc
and write the following command
:wq
without save and quit
:q!