Hi,
If I want to extract the contents of one file, from its line 3 to its line 15( suppose it has 100 lines). Which commands can I use to function this?
I only know how to extract the first N lines from one file to output to another file, say:
head -16 somefile > otherfile
Thanks for your help!
I think sed/awk and some other commands can finish this function, but I don't know exactly. Can you please help?
Thanks.
If I want to extract the contents of one file, from its line 3 to its line 15( suppose it has 100 lines). Which commands can I use to function this?
I only know how to extract the first N lines from one file to output to another file, say:
head -16 somefile > otherfile
Thanks for your help!
I think sed/awk and some other commands can finish this function, but I don't know exactly. Can you please help?
Thanks.