Skip to content

grep question

1 message · Edna Bell

#
In grep, you can use the options "n" and "o" to get the line number
and only the matching text.

Is there a way to just get the line number, please?

Thanks,
Edna Bell