Computer History Notes - Herong's Tutorial Notes - v3.13, by Herong Yang
'vi' Miscellaneous Commands in 'ex' Line Mode
This section provides a list of miscellaneous commands in 'ex' line editing mode.
Here is a list of 'vi' miscellaneous commands:
ZZ
Save and quit
.
Repeat the last text modifying command
u
Undo the last text modifying command
[n]J
Join the current line and the following line for n times
Q
Quit out of "vi" mode and go into "ex" mode.
:vi
Quit out of "ex" mode and go into "vi" mode.
Here is a list of 'Ex' commands that can be used in 'vi':
:q!
Quit vi without saving changes.
:[m],[n]s/pattern/string/g
Substitute the pattern with the string of all occurrences
from line m to line n.
:set all
Show all settings.
:vi filename
Start editing another file.
:w
Write out changes to the current file.
:w filename
Write out the editing file to another file.
:w >> filename
Write out the editing file to the end of another file.
:wq
Write out the changes and quit vi.
:r filename
Reads the content of another file into the current file
after the current line.
Table of Contents
2002 - .NET Framework Developed by Microsoft
1995 - PHP: Hypertext Preprocessor Created by Rasmus Lerdorf
1995 - Java Language Developed by Sun Microsystems
1991 - WWW (World Wide Web) Developed by Tim Berners-Lee
1991 - Gopher Protocol Created by a University of Minnesota Team
1984 - X Window System Developed a MIT Team
1984 - Macintosh Developed by Apple Inc.
1983 - "Sendmail" Mail Transfer Agent Developed by Eric Allman
1979 - The Tcsh (TENEX C Shell) Developed by Ken Greer
1978 - Bash (Bourne-Again Shell) Developed by Brian Fox
1978 - The C Shell Developed by Bill Joy
1977 - The Bourne Shell Developed by Stephen Bourne
1977 - Apple II Designed by Steve Jobs and Steve Wozniak
►1976 - vi Text Editor Developed by Bill Joy
'vi' Commands to Move Cursor and Search for Locations
'vi' Commands to Insert and Change Text
►'vi' Miscellaneous Commands in 'ex' Line Mode
1974 - Internet by Vinton Cerf
1972 - C Language Developed by Dennis Ritchie
1971 - FTP Protocol Created by Abhay Bhushan
1970 - UNIX Operating System Developed by AT&T Bell Labs