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

 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
 Oracle Support

 SQL Tuning

 Oracle UNIX
 Oracle Linux
 Remote s
 Remote plans
 Application Server

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

 Remote S


 Consulting Staff
 Consulting Prices
 Help Wanted!


 Oracle Posters
 Oracle Books

 Oracle Scripts

Don Burleson Blog 







Viewing and editing files in UNIX - vi editor, tail command
Oracle Tips by Burleson Consulting


Viewing and editing files in UNIX

UNIX provides several commands and utility programs for viewing the contents of data files. These tools are often very foreign and cryptic to the UNIX beginner, but it is critical to the effective management of Oracle that you become comfortable with these powerful tools:

  • The vi editor – pronounced “vee-eye” – This is a powerful text-processing program, which, once mastered, is far faster than any text editor known to personal computers. Inside the vi editor, every key (both uppercase and lowercase) performs an editing function. For vi for read-only access, files can be accessed using the view command.

  • The cat command - The cat (concatenate) command, (like the MS-DOS type command), displays the contents of a file on the screen. For example, entering the command cat food would display the entire food file on your screen.

  • The more command – The more command is used to display a file, one screen at a time. For example, entering the command more food would list the food file, and you press the spacebar for the next screen of text.

  • The head command – The head command is used to display the first lines of a file. For example, entering the command head start would display the first three lines of the start file.

  • The tail command – The tail command is used to display the last lines in a file. For example, entering the command tail gating would display the last three lines of the gating file.

The above is an excerpt from the "Oracle9i UNIX Administration Handbook" by Oracle press, authored by Donald K. Burleson.




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.