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

1
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

3
  • 3
    also, ctrl+x with unsaved changes will trigger a "do you want to save?" prompt Apr 30 at 12:02
  • 1
    +1, even though OP is basically trying to drive screws with a hammer and you're saying he's "really close" ;)
    – gronostaj
    Apr 30 at 19:36
  • 1
    @gronostaj I understand - My point is that the OP is trying, which is more than a lot of the other questions I've seen :) Apr 30 at 23:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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