Linux OS Shell Question: Download Questions PDF
How do you print the lines between 5 and 10, both inclusive?
a) cat filename | head | tail -6
b) cat filename | head | tail -5
c) cat filename | tail +5 | head
d) cat filename | tail -5 | head -10
Answer:
a) cat filename | head | tail -6
Download Linux Shell Interview Questions And Answers
PDF