What is the best way to edit files on Linux?
To return to normal mode, press the ESC key.
Insert mode is activated by pressing the I Key.
To exit the editor without saving a file, press the q! keys.
To save the revised file and exit the editor, press the wq! keys.
To save the file as test. txt, press:w test. txt.