Re: Where the heck is mailx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



inode0 wrote:
On 8/25/06, Mark Haney <mhaney@xxxxxxxxxxxxxxxx> wrote:
inode0 wrote:
>
> Out of curiosity, what rpm command did you run that suggests it is
> installed? Perhaps that will clear things up...
>
> John
>
Yeah I missed something.  Apparently, mailx is just a symlink to mail.
But this doesn't really fix the problem I'm having now, which is my
script doesn't run as mail requires a CTRL+D in order to send the
message.  How do I get around that?

I usually do something like

mail -s subject foo@xxxxxxx < some-file

or

echo "text to mail" | mail -s subject foo@xxxxxxx

John

Yep, that did it.  Thanks a bunch everyone.


--
Ceterum censeo, Carthago delenda est.

Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux