Which command is used to close the vi editor?
A. q
B. wq
C. both (a) and (b)
D. none of the mentioned
Answer:A
Which command is used to close the vi editor?
A. q B. wq C. both (a) and (b) D. none of the mentioned
Explanation:The command ‘q’ just closes the file and ‘wq’ saves and closes the file.