shell print specific line code example
Example 1: how to get specific lines of shell output
sed -n '10,20p' york.txt
Example 2: how to get specific lines of shell output
head -n 20 york.txt | tail -11
sed -n '10,20p' york.txt
head -n 20 york.txt | tail -11