[an error occurred while processing this directive]

  • emailing the contents of a text file from the command line
    By : anonymous ( Thu Jan 12 21:53:46 2006 )

    If you want to email yourself the content of a text file like a log or something

    cat /var/log/messages |mail -s YOURSUBJECT YOU@YOURDOMAIN.COM

    I use it often remotely when it'd be easier to just have the text local.

    Return to article...[an error occurred while processing this directive]