I have a 100 line text file. I want to extract lines 50 to 70 inclusive. How can I do this? My Google skills are failing me and man cut
doesn't seem to have the answer - perhaps I need a different tool.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this community
awk 'NR>=50 && NR<=70' file
have a look at unix.stackexchange.com/questions/89640/…