sed - show specific lines from file
sed -n 12,18p file.txt
will show lines from 12 to 18
to view all except these lines
sed 12,18d file.txt