esc + : + w
To quit the vi editor
To save file
To save file with file name (save as)
To clear the screen