mail, rmail-reads mail or sends mail to users

 <  Day Day Up  >  

mail , rmail ”reads mail or sends mail to users

 Sending mail    mail [ tw ] [ m message_type ] recipient...    rmail [ tw ] [ m message_type ] recipient... Reading mail    mail [ ehpPqr ] [ f filename ] Forwarding mail    mail F recipient... Debugging    mail [ x debug_level ] [ other_mail_options ] recipient...    mail [ T mailsurr_file ] recipient... 

A recipient is usually a username recognized by login . When recipients are named, mail assumes a message is being sent. It reads from the standard input up to an end-of-file (Ctrl-D), or if reading from a terminal, until it reads a line consisting of just a period. When either of those indicators is received, mail adds the letter to the mailfile for each recipient.

 <  Day Day Up  >  


UNIX Shells by Example
UNIX Shells by Example (4th Edition)
ISBN: 013147572X
EAN: 2147483647
Year: 2004
Pages: 454
Authors: Ellie Quigley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net