UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: 8.4 Saving and ExitingChapter 8
The Vi Editor
Next: 8.6 Interacting with UNIX
 

8.5 Accessing Multiple Files

:e fileEdit another file; current file becomes alternate.
:e!Restore last saved version of current file.
:e + fileBegin editing at end of file.
:e +n fileOpen file at line n.
:e #Open to previous position in alternate file.
:ta tagEdit file at location tag.
:nEdit next file.
:n!Forces next file.
:n filesSpecify new list of files.
CTRL-GShow current file and line number.
:argsDisplay multiple files to be edited.
:rewRewind list of multiple files to top.


Previous: 8.4 Saving and ExitingUNIX in a Nutshell: System V EditionNext: 8.6 Interacting with UNIX
8.4 Saving and ExitingBook Index8.6 Interacting with UNIX

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