Finding text string How to

Solaris v2.5
I'm trying to find a string of text.  I'm using the following command.
find / -type f -exec grep -li "mbgnet" {} \:

The os returns find: incomplete statement

What's the correct syntax?
Who is Participating?
Your last character is wrong e.g. the colon ":" it should be a semicolon ";" so:

find / -type f -exec grep -li "mbgnet" {} \;
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: Nukfror

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

EE Cleanup Volunteer
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.