DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Editing files

Saving files and quitting ed

To save a file, use the commands:


w
saves the current file

w filename
saves the current file as filename
To quit ed, use the commands:

q
quits ed only if the current file has been saved

Q
quits ed without checking if the current file has been saved
See the ed(C) manual page for more details of these commands.
Next topic: Moving around in ed
Previous topic: Starting ed

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003