Saving to another file

To quit vi and save the contents of the buffer to a new file:

   :w filename
   :q

[Home] [Index]