Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash vi exit

#to modify a file: 
vi FILENAME.sh
#press colon ':' + ENTER (the position of the cursor will be to the end of file)
#to exit & SAVE:
wq
#to exit WITHOUT SAVING:
q!
Source by kb.iu.edu #
 
PREVIOUS NEXT
Tagged: #bash #vi #exit
ADD COMMENT
Topic
Name
8+5 =