Saving to another file
To quit
vi
and save the contents of the buffer to a new file:
:w
filename
:q
This site maintained by
unixhelp@mathcs.duq.edu