You can use sed to `p`rint a range selection (from 2 to 3):
~$ sed -n '2,3p' fileA
donec.non.nibh=ut tortor
nam.mattis.lacus=et rhoncus sodales
or use head to select the first 3 lines, and tail to select the last 2 lines (of the 3 lines):
~$ head -3 fileA | tail -2
donec.non.nibh=ut tortor
nam.mattis.lacus=et rhoncus sodales