Search Files On Server For WHM or another solution perhaps?

Discussion in 'Site & Server Administration' started by davepoint, Jun 8, 2009.

  1. #1
    I have WHM and id like a way for me to search the server for text on files,
    showing me what site/file that is on. For example i search iframe, it would search all the websites and report back to me what sites/files have that word on it. Replace would be nice (ie search and replace) but not vital.
    Any ideas or someone who knows or has done this before
     
    davepoint, Jun 8, 2009 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    This is easier to do from the command line, however, you mentioned WHM, so take a look at LogView:

    http://www.logview.org/

    It has the option to "Search Within a File", all you need to do is specify the directory.
     
    RHS-Chris, Jun 8, 2009 IP