The simplest tool for what you describe is grep
grep has many options, worth reading its manpage
but simply
Code:
grep "Your String" /path/to/file
6gb is a large file, it is going to take some time
is it a log?
https://access.redhat.com/documentat...-locating.html
that is for rhel 6, hunt for specifics on 5 if required