I guess it depends
if you always want line 19 of a 20 line file then this will do it
Code:
awk '{if ( NR == "19" ) print}' InputFile
you could also use a variable
e.g.
Code:
IwantLine=19
awk '{if ( NR == '${IwantLine}' ) print}' InputFile
but a simple head | tail
Code:
tail -n2 InputFile | head -n1
It really depends on why you want "line 19"
lets pretend line 19 as the string, FooBar in it
Code:
grep "FooBar" InputFile
or
Code:
awk '/FooBar/{print}' InputFile
awk is more useful if you want/need to manipulate the line in anyway, maybe you only want certain 'fields'
if you give more 'context' ( sample input, what your goal is ) we can give you better guidance.