vi editor.. ":qall" is used to close all buffers and close window?
A
Correct answer
Explanation
In the vi editor, the command :qall (quit all) is used to close all buffers and exit the editor. This command is particularly useful when you have multiple files open simultaneously and want to close them all at once. It's different from :qa which also quits all, and :q! which quits the current window discarding changes. The :qall command will fail if any buffers have unsaved changes, requiring :qall! to force quit.