Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How can I use the “mail” command?

I have mutt configured for CLI e-mailing. All's golden with the "this one just sucks less" client but...

I am now on a machine on which I can't install mutt at all, not even on my $HOME, so:

  • is there a way to use mail (/usr/bin/mail) to the same effect?

I Googled to no avail. Maybe it's because the term "mail" is not easy to "disambiguate" in a search?

share|improve this question

marked as duplicate by jasonwryan, Renan, Jim Paris, warl0ck, manatwork Nov 2 '12 at 7:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

If google's not being helpful, search on the right corner directly here – warl0ck Nov 2 '12 at 2:24

Linux and Unix systems generally have /usr/bin/mail on the host. You can use mail (just run mail on the command line) to read/send mail.

If you need to mail files, you can:

cat file.txt | mail -s "subject" user@domain

If you need to mail large files, you can uuencode them as attachments:

uuencode file file | mail -s "here is your file" user@domain
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.