I have very long log files, is it possible to ask grep to only search the first 10 lines?
grep -m6 "string" cov.txt
This searches only the first 6 lines for string
string