Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

The vi Text Editor

Oracle Database Tips by Donald Burleson

The text editor vi, pronounced ?vee-eye,? can be called from the command line, and it stays on the command line. This powerful editor is easy to use, but it is not intuitive. You must know the commands to make it work or at the very least know how to look them up. Pointing and clicking will get you nowhere. Fortunately, just memorizing a few basic commands will make it quite useful.  

In Fedora Linux, the original vi has been replaced with ?vi improved,? launched on the command line with vi or vim. The syntax to open a file in the vim editor is vi </path/filename>. If the file exists, it will open that file; if it does not exist, it will create the file. If you do not name a file, the editor will run without editing a named file until what has been created is saved.

The vieditor utilizes three modes: command mode, edit modeand ex mode. Open the editor with the vi command to begin in the command mode. In this mode, the editor can be given commands that it will follow such as write (:w), quit (:q), quit without saving (:q!), replace (:R), or find (:/<text_to_find>). Most important of all are the commands help (:h) and help about a particular subject (:h subject).

To enter the edit mode, you can press the ?i? key to begin inserting text or the a key to append text. Type in the text desired. The up, down, left and right arrows will work as expected. Exit the edit mode by pressing [Esc], and you are ready to type a command for vito respond to.

Vi's ex mode (extended mode) is beyond the scope of this book. For more information on vi, visit the vim website at http://www.vim.org.


Learn More about PC RAC:
 

If you want to learn RAC at home, get the bestselling book "Personal Oracle Real Application Clusters" by Edward Stoever.

You can buy it direct from the publisher for 30%-off and get instant access to the code depot of Oracle tuning scripts.


 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.