UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: deleteChapter 9
The Ex Editor
Next: Reference: file
 

edit

e[!] [+n] [file]

Begin editing file. Add a ! to discard any changes to the current file. If no file is given, edit another copy of the current file. With the +n argument, begin editing on line n.

Examples

:e file
:e#
:e!


Previous: Reference: deleteUNIX in a Nutshell: System V EditionNext: Reference: file
Reference: deleteBook IndexReference: file

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System