Vidyalelo
Computer Science · Q797

Linux

Engineering and GATE · Computer Science · question 797

Q797

How do you print the lines between 5 and 10, both inclusive

A.
cat filename | head | tail -6
Answer
B.
cat filename | head | tail -5
C.
cat filename | tail +5 | head
D.
cat filename | tail -5 | head -10

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board