I'm working on a project based on installing a server FTP on Amazon Web Services. I'm doing it through Ubuntu 16.04. No such a matter, everything is doing good so far.

But I got stuck in a step that requires me to type some commands to modify a specific file. I actually typed the commands, but I don't know what to press to save changes and get on the next step. I tried pressing Escape and ControlEnter, but nothing seems to happen. Does anyone have a clue?


  • 2
    ctrl+o as it clearly states at the bottom
    – ravery
    Nov 5, 2017 at 23:09

1 Answer 1


The editor that you are using is nano

Press ctrl+o to write the file, and ctrl+x to exit.

  • For even deeper learning on nano see the Nano Command Manual
    – J. Starnes
    Nov 5, 2017 at 23:41
  • In general, the bottom of the screen in nano has the basic commands. ^ means Ctrl. Nov 6, 2017 at 0:40

Not the answer you're looking for? Browse other questions tagged or ask your own question.