# put the code
Example1 - print lines between 5 and 10:
- with
awk
awk 'NR>4 && NR<11' file.txt
- with
sed</sed>
sed -n '5,10p' file.txt
Example2 - print from line 10 to last line:
- with
awk
awk 'NR>9' file.txt
- with
sed</sed>
sed -n '10,$p' file.txt