A memo on how to output the Nth line of a file in Bash on Linux command line. Uses the sed command.
Can be used for things like looping through with for and outputting one line at a time.
# Line 1
sed "1q;d" names.txt
# Line 2
sed "2q;d" names.txt
# Line 3
sed "3q;d" names.txt