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

8.5 Accessing Multiple Files

:e file Edit another file ; current file becomes alternate.
:e! Return to version of current file at time of last write.
: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 NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System