This question already has an answer here:
- cat line X to line Y on a huge file 6 answers
For a file containing 20 lines, lines 6-10 can be printed using following command:
head -10 filename | tail -5
Can this exactly same thing be done without using 'head' and 'tail' commands ??
Please comment the link if similar question already exists.