I am doing a Linux installation. I installed the system fine and am trying to change the vi /etc/hosts file. I have edited the file but am not sure how to save it.
I have --INSERT-- showing at the bottom.
|
feedback
|
This question came from our site for system administrators and desktop support professionals.
|
First press ESC so you get back to command mode, then do.
or
or
| |||||||
feedback
|
|
You can also use the shortcut Shift-Z-Z from command mode (as Anders said, press Esc to exit Insert mode and return to Command mode) to save and exit to the command prompt. | |||
|
feedback
|