System information

© Agilent Technologies 2001–2002 Administering Agilent 3070 Systems (MS Windows NT and 2000) 8-23
Chapter 8: Reference
Moving text
Join lines of text
J
Copy a line into a buffer
yy
Put copied or deleted text line from buffer after cursor line
p
Read in another file after cursor line :r <filename>
Searching text
Search forward for <words> /<words>
Search backward for <words> ?<words>
Repeat the previous search for words
n (next) or N (previous)
Saving and printing files
Save file in same filename
:w
Save file to a new filename :w <new_filename>
Exit from file without saving changes
:q!
Overwrite another existing file with this file :w! or wq!
Save and exit from the vi editor
:wq
Table 8-10 vi and viw editor quick reference (continued)
To Do This . . . Enter This in Command Mode . . .