Bash impresión enésima línea

sed 'NUMq;d' file
Pleasant Panda