On Tue, 17 Mar 1998 11:43:17 -0800 (PST), <[EMAIL PROTECTED]> wrote:
> 
> 
> How can I mail a file to myself from a simple command-line? I want to
> set a cron job to mail a file to myself every night - but I cannot figure
> out how to make mail or sendmail send a file automatically.
>  

mail -s 'file' user < file-name

-- 
                Bryan C. Andregg * <[EMAIL PROTECTED]> * Red Hat Software

"Hey, wait a minute, you clowns are on dope!"
        -- Owen Cheese in 'Shakes the Clown'


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to