What is the effect of issuing ZZ and ZQ in the vi editor command mode?

What is the effect of issuing ZZ and ZQ in the vi editor command mode?

What is the effect of issuing ZZ and ZQ in the vi editor command mode?

A.
The command ZZ will zoom in the vi editor command mode and ZQ will zoom out the view.

B.
The command ZZ will thrash all changes, whereas ZQ will ask for confirmation before saving.

C.
The command ZZ will save changes and exit, whereas ZQ will exit the editor without saving
changes.

D.
The command ZZ will exit the editor without saving changes, whereas ZQ will save changes
and exit.

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *