The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

searching

Discussion in 'General Discussion' started by laborspy, Jun 14, 2005.

  1. laborspy

    laborspy Well-Known Member

    Joined:
    Feb 7, 2004
    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    6
    I tar up my mail logs, roughly 1months worth, mainly for security reasons. Does anyone can know a command that I can search for a keyword from within tar files?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    If they're only gzipped then you can use zgrep, otherwise you'll havr to expand them.
     

Share This Page