find string in a file

I want to find a string suppose "MPCID" which is repeated many times in a file. How to read the file and display all the line numbers of the string "MPCID" . Pls help:)


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!