Where the heck is mailx

inode0 inode0 at gmail.com
Fri Aug 25 18:07:43 UTC 2006


On 8/25/06, Mark Haney <mhaney at ercbroadband.org> 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 at bar.com < some-file

or

echo "text to mail" | mail -s subject foo at bar.com

John




More information about the redhat-list mailing list