3

How do I save and quit after making changes in a config file? I was told to type out the command :wq but I do not know where.

I'm met with this screen. Which keys do I press to type out the :wq command?

enter image description here

karel
  • 110,292
  • 102
  • 269
  • 299
  • 1
    Does this answer your question? [How to save a file using nano](https://askubuntu.com/questions/477603/how-to-save-a-file-using-nano) – N0rbert Apr 30 '21 at 07:32

1 Answers1

12

The :wq is for a different editor than the one you are using.

The one that you are using, asks you to press ctrl+o to output (write) the file, and ctrl+x to exit

Charles Green
  • 20,952
  • 21
  • 60
  • 92