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?
> 
I do not know a specific command but by putting head and tail together.
head -5 filename|tail -3

--
Douglas F. Elznic
[EMAIL PROTECTED]
"If they give you lined paper, write the other way."
Freedom through Electronic Resistance


-- 
  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