How to search an expression in a file from a bash script?

Posted by Neuquino on Stack Overflow See other posts from Stack Overflow or by Neuquino
Published on 2010-03-13T18:24:09Z Indexed on 2010/03/13 18:25 UTC
Read the original article Hit count: 301

Filed under:

I have a bash script. I need to look if "text" exists in the file and do something if it exists.

Thanks in advance

© Stack Overflow or respective owner

Related posts about bash