home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


UNIX in a Nutshell: System V Edition

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

8.5 Accessing Multiple Files

:e file Edit another file ; current file becomes alternate.
:e! Restore last saved version of current file.
:e + file Begin editing at end of file .
:e + n file Open file at line n .
:e # Open to previous position in alternate file.
:ta tag Edit file at location tag .
:n Edit next file.
:n! Forces next file.
:n files Specify new list of files .
CTRL-G Show current file and line number.
:args Display multiple files to be edited.
:rew Rewind list of multiple files to top.


Previous: 8.4 Saving and Exiting UNIX in a Nutshell: System V Edition Next: 8.6 Interacting with UNIX
8.4 Saving and Exiting Book Index 8.6 Interacting with UNIX

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