I'm fairly new to unix so please bear with me.
I have several log files that I need to extract certain lines from and output to another file.
I apologize for the crude example:
Bob
Jim
Joe
Ralph
Steve
George
I only want to extract Lines 3 through 5 and pipe to a file.
Could someone please give me some direction. I didn't think that Grep would work, however after reading the man pages for awk and sed, I'm not sure where to start.
Please help.
I have several log files that I need to extract certain lines from and output to another file.
I apologize for the crude example:
Bob
Jim
Joe
Ralph
Steve
George
I only want to extract Lines 3 through 5 and pipe to a file.
Could someone please give me some direction. I didn't think that Grep would work, however after reading the man pages for awk and sed, I'm not sure where to start.
Please help.