mail(1) usage:
-s subject Use subject for the e-mail title -c address Send copy of the mail to the specified address -b address Send blind carbon copy to specified address
Send a file to root:
$ mail -s "TODO list" root < todo.log
Send a binary file:
$ uuencode brimbelle.jpeg brimbelle.jpeg | mail matt@home.com
Send multiple files:
(cat text_to_send.txt ; uuencode brimbelle.jpeg brimbelle.jpeg) | mail matt@home.com