unix command

i want to know how to see the specific pages from a large file.suppose a file has 1000 pages and we want to view from 20 to 60 how can we view this using unix commands or using programs.reply asap.

What is the definition of a page in your file :

  • Sections of the file separated by a FormFeed character ?
  • Fixed count of consecutive lines (66 for example) ?

Jean-Pierre.

the fixed count is 20.

pg -20 file

If there are formfeed characters in there this will behave oddly.

thanks a lot jim mcnamara.