Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

I need to search for a specific word / line in every file

Discussion in 'General Discussion' started by I-Web, May 6, 2004.

  1. I-Web

    I-Web Well-Known Member

    Joined:
    Jul 7, 2003
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    166
    I found this on WHT

    find -type f -name '*.*' \
    -exec grep -s searchstringhere {} \; -print

    but it doesnt work.... i know because i created a test file, put my search string into it and tested to see if it would find it...


    Anyone????

    Thanks
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice