Display only the n’th match of grep July 19, 2023 by Tarik grep -m2 "two" in-file.txt | tail -n1 Stop after the second match, then take the second line printed.