sed -ne '101 p' -e '106 p' /path/to/the/file
-n
switch will make sed not print all lines by default.-e
switch is to specify a sed command, you can use it multiple times at once.Some sed command examples:
45 p
- print line #4534,55 p
- print lines #34-#5599,$ p
- print lines #99-end of the file