ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Editors  >>  Vi Editor
 
 


 

 
 Vi Editor interview questions  Vi Editor Interview Questions
 Visual Studio IDE interview questions  Visual Studio IDE Interview Questions
 Editors AllOther interview questions  Editors AllOther Interview Questions
Question
What is the difference between ZZ and :wq commands?
 Question Submitted By :: Swapna
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the difference between ZZ and :wq commands?
Answer
# 1
I guess both do the same task..! in the sense :wq,:x and ZZ
are used to save the changes of edited to storage and quit..
but to jot down the difference a foolish one.. :wq and :x
requires <enter> key to be pressed to fire this commands
where as ZZ works as a shortcut (hot) key.. it some what
like for prior commands we are requesting Vi to do the work
and later command we are telling/commanding
 
Is This Answer Correct ?    0 Yes 0 No
Pravin
 

 
 
 
Other Vi Editor Interview Questions
 
  Question Asked @ Answers
 
Which command is used to replace many characters?  1
How to replace String "a" with String "b" in whole file of the vi editor? Niksun1
How to append a file to current file?  1
What is the format of vi command?  1
How to enter from command mode to insertion mode?  1
what is the command used to delete current line in vi editor?  1
What does the /text command do?  1
what are the different delete commands used in vi editor?  1
what does the c$ command do from command mode?  1
What is the command used to replace many characters?  1
What is the command used to display line numbers in vi editor?  1
How to return to shell without leaving vi editor?  1
what are the two different modes in vi editor?  1
what is the command used to set margin in vi editor?  1
What is the difference between ZZ and :wq commands?  1
what is the command used to append text after current line?  1
what are the different commands used to quit from the vi editor?  1
 
For more Vi Editor Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com