Tenth Line Description link Solution See Code Code O(n) # Read from the file file.txt and output the tenth line to stdout. awk 'NR == 10' file.txt