Trường Phan
New member
How do you save a file in Terminal?
Answer
The command to save a file in Vim is :
w. To save the file without exiting the editor, switch back to normal mode by pressing Esc , type :w and hit Enter . There is also an update command :up , which writes the buffer to the file only if there are unsaved changes.
Answer
The command to save a file in Vim is :
w. To save the file without exiting the editor, switch back to normal mode by pressing Esc , type :w and hit Enter . There is also an update command :up , which writes the buffer to the file only if there are unsaved changes.