The following command can be used to grep the contents of a file. It will search for any occurances of the string admin.

grep admin somefile.txt