how to find a particular line in a file in linux command 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