linux

Grep the contents of a file

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

more bash posts

more Linux posts