title: How to attach a file using mail command on Linux?
body: <p>I'm on a server running a Linux shell. 
  I need to mail a simple file to a recipient. 
  How to do this, prefereably using only the <strong>mail</strong> command? </p>
  
  <p><strong>UPDATE</strong>: got a good solution, using mutt instead:</p>
  
  <pre><code>$ echo | mutt -a syslogs.tar.gz admin@domain.org
  </code></pre>