How to edit/save a file through Ubuntu Terminal

后端 未结 5 1354
心在旅途
心在旅途 2020-12-22 18:23

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

5条回答
  •  -上瘾入骨i
    2020-12-22 18:56

    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!
    

提交回复
热议问题