PrepAway - Latest Free Exam Questions & Answers

From any mode in vi, how do you save a the current file and exit vi?

From any mode in vi, how do you save a the current file and exit vi? (give 2 options)

A.
ESC :wq!

B.
ESC :q!

C.
ESC ZZ

D.
ESC :Q

Explanation/Reference:
there is no ":" before ZZ!

2 Comments on “From any mode in vi, how do you save a the current file and exit vi?


Leave a Reply