Saturday, 3 November 2012

tail - Basic Unix Commands


tail

Use this command to look at the tail of a file. For example,
   % tail poem1
displays the last 10 lines of the file poem1 To see a specific number of lines, do this:
   % tail -n 20 poem1
This displays the last 20 lines of the poem.


head - Basic Unix Commands



No comments:

Post a Comment