OpenWindows Advanced User's Guide

6.3.1.2 Saving and Quitting

Save and quit by typing:

:wq

followed by Return. Alternatively, type ZZ.

Note that the command ZZ is neither preceded by a colon nor followed by Return.