Yup,
Where there is *nix, there is a way.

head -5 file | tail -3
sed -n '3,4,5p' file
etc...

Rick

On Sat, 21 Mar 1998, Billy Bushong - Concord, NH wrote:

> Is there a command in Linux that will show only the middle part of a file??
> Say I wanted to only show lines 3-5 of a 10 line file... Is there a command
> that could do that?
> 
> Bill Bushong - Concord, NH

--
Rick L. Mantooth        [EMAIL PROTECTED]
http://www.why.net/users/rickdman/index.html
Lottery: A tax on people who are bad at math.


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to