Saving to another file

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

   :w filename
   :q

[Home] [Search] [Index] This site maintained by webmaster@cs.auckland.ac.nz