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(1) manual page for more details of these commands.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004