'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

 About This Book

 1957 - FORTRAN Language Developed by IBM

 1970 - UNIX Operating System Developed by AT&T Bell Labs

 1971 - FTP Protocol Created by Abhay Bhushan

 1972 - C Language Developed by Dennis Ritchie

1976 - vi Text Editor Developed by Bill Joy

 What Is vi Text Editor?

 'vi' Commands to Move Cursor and Search for Locations

 'vi' Commands to Insert and Change Text

'vi' Miscellaneous Commands in 'ex' Line Mode

 1977 - Apple II Designed by Steve Jobs and Steve Wozniak

 1977 - The Bourne Shell Developed by Stephen Bourne

 1978 - The C Shell Developed by Bill Joy

 1978 - Bash (Bourne-Again Shell) Developed by Brian Fox

 1979 - The Tcsh (TENEX C Shell) Developed by Ken Greer

 1983 - "Sendmail" Mail Transfer Agent Developed by Eric Allman

 1984 - Macintosh Developed by Apple Inc.

 1984 - X Window System Developed a MIT Team

 1991 - WWW (World Wide Web) Developed by Tim Berners-Lee

 1991 - Gopher Protocol Created by a University of Minnesota Team

 1995 - Java Language Developed by Sun Microsystems

 1995 - PHP: Hypertext Preprocessor Created by Rasmus Lerdorf

 2002 - .NET Framework Developed by Microsoft

 References

 PDF Printing Version