so I know that to find the line number of the first occurrence of a pattern in a file I do:
zgrep -n -m 1 "pattern" big_file.txt.gz