title: Using head and tail to return the nth item from a file in Linux
body: <p>I'm pretty new to using Linux commands. So suppose I have a file with 100 thousand lines. Well suppose I want to get line 50,000. Is there a way I can give the shell a command to retrieve line 50,000 using head and tail commands?</p>