Tuesday, June 17, 2008

head

Use this command to look at the head of a file. For example,

   % head essay.001 

displays the first 10 lines of the file essay.001 To see a specific number of lines, do this:

   % head -n 20 essay.001 
This displays the first 20 lines of the file.

No comments: