log-file output in separate files

From: Paal Marker (paal_at_barum.folkebibl.no)
Date: 02/25/04

  • Next message: Gerry Doris: "Re: Apache question,"
    To: redhat-list@redhat.com
    Date: Wed, 25 Feb 2004 12:28:14 +0100
    
    

    I need to store excerpts of logfiles in separate files from remote server.

    Usually I use the commands:
    grep -n "expression" /var/log/logfile
    and
    tail --lines=x /var/log/logfile

    ...for getting output

    Is there a way to give these commands and then the output is
    automatically stored in a new file?

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Gerry Doris: "Re: Apache question,"

    Relevant Pages