Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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.

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

1 Answer 1

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.