Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

vi quit

# ESC to start command prompt, then
:q!		# exit vi without saving
:wq!	# exit vi with saving (! means exiting even if file is read only)
 
PREVIOUS NEXT
Tagged: #vi #quit
ADD COMMENT
Topic
Name
6+2 =