Moderate

What command is used with vi editor to save file and remain in the editing mode ?

Correct answer: C. :w

  • A. x
  • B. q!
  • C. :w
  • D. :q

Explanation

The `:w` command writes the current file to disk and leaves the user in vi, allowing further editing. `:q` exits, while `:q!` exits without saving.

Last updated

Practise Software Development Lifecycle

423 free Software Development Lifecycle MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.

Exams that ask Software Engineering questions like this

Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.

Related questions