also
'''
sed '10q;d' file.txt
'''