How to attach a binary file to an email using the Linux mail command: ( cat bodyofmail.txt; uuencode filetoattach attachmentnameinemail ) |\ mail -s "The subject" [email protected] # for example # if I had the text body of my email in "body.txt" # and I had a PDF file...