Forum Moderators: bakedjake

Message Too Old, No Replies

Head and tail commands

         

shwetha

12:02 pm on Mar 11, 2004 (gmt 0)

10+ Year Member



Hi

How could you use head and tail in a pipeline to display lines 25 through 75 of a file?- do explain

Thanks
shwetha

davenix

12:30 pm on Mar 11, 2004 (gmt 0)

10+ Year Member



head -75 FILENAME ¦ tail -50

This will give you lines 25-75