I am looking for a UNIX command to get a line by passing the line number for a large file (approx. 5 million records). For example, to get the 10th row, I want to do something like
command file-name 10 is there any such command available ? We can do this by looping it through each record but it will be a time consuming process.
This suggests:
sed -n '52p' (file)