For Oracle support & training call (800) 766-1884
Free Oracle Tips

Home
Oracle Tips
Oracle Code Depot
Oracle Monitoring
Oracle Consulting
Oracle Training
Oracle News
Oracle Forum
Oracle Support





 

Free Oracle Tips

image

 
HTML Text

Free Oracle App Server Tips

image

 
HTML Text


Privacy Policy

Redneck

Dress Code

Oracle tuning

Oracle training

Oracle support

Remote Oracle


 

   
  Oracle Tips by Burleson

Displaying beginning lines of a file

Sometimes you might have a large file that you only need to
display the first few lines of to identify the content. For
instance, perhaps you would like to see the error code on a
dump file and the code and error messages appear within the
first five lines of the dump file. The following example
demonstrates how to display the first fifteen lines of a file using
the head command. Pass the head command the number of
lines you would like displayed (default is 10).


Directory:~/examples
$ head -15 declaration.txt display first 15 lines

The Declaration of Independence of the Thirteen Colonies
In CONGRESS, July 4, 1776

The unanimous Declaration of the thirteen united States of America,

When in the Course of human events, it becomes necessary for one people to dissolve
the political
bands which have connected them with another, and to assume among the powers of the
earth, the
separate and equal station to which the Laws of Nature and of Nature's God entitle
them, a decent
respect to the opinions of mankind requires that they should declare the causes
which impel them
to the separation.

We hold these truths to be self-evident, that all men are created equal, that they
are endowed by
their Creator with certain unalienable Rights, that among these are Life, Liberty
and the pursuit
of Happiness. --That to secure these rights, Governments are instituted among Men,
deriving their
just powers from the consent of the governed, --That whenever any Form of Government
becomes

Directory:~/examples
$


The above book excerpt is from:

Easy Linux Commands
Working Examples of Linux Command Syntax

ISBN: 0-9759135-0-6   

Terry Clark 

http://www.rampant-books.com/book_2005_1_linux_commands.htm 

  
 

 
 
 
 
Oracle performance tuning software
 
 

 

 
 
 
Oracle performance Tuning 10g reference poster
 
 
 
Oracle training in Linux commands
 
Oracle training Excel
 
Oracle training & performance tuning books
 

 

Fast-Track Oracle Support
PO Box 511
Kittrell, NC 27544


Email BC:

 

Hit Counter