Wednesday, August 17, 2016

vi Editor Save / Quit command

Following commands to Save or Quit from vi editor

ZZ or :wq - Save and exit from vi editor (Shift + ZZ)
:w - Save and continue to edit
:q! - Quit without saving changes

No comments:

Post a Comment