Print line number X of a file (in shell)
I didn't think I need it a while ago so I excuse me for another topic.
Is there a way to print line number X of a certain file.
For example:
file "file" has 3 lines:
hello
abc
hi
Is there a simple command to print say, the second line of file "file":
abc
|