Where is mailx command in Linux..??
Where is mailx command in Linux..??
am 12.11.2002 03:09:37 von CheeTong.Sim
Hi.. Dear all,
I found that I can issue mailx command in solaris for example
mailx -s "subject" abc@yahoo.com < /tmp/text
/tmp/text is the file that contain text
But I found I can't find mailx command in linux, only mail command is
available
I have to do the following
[root@orange simc]# mail abc@yahoo.com
Subject: good morning
how are you?
Cc:
Is there any way that I can enter one line of command to send mail instead
of press enter and ctrl-D a few time to compile a mail???
Why there is no mailx command in linux
============================================================ ======
De informatie opgenomen in dit bericht kan vertrouwelijk zijn en
is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht
onterecht ontvangt wordt u verzocht de inhoud niet te gebruiken en
de afzender direct te informeren door het bericht te retourneren.
============================================================ ======
The information contained in this message may be confidential
and is intended to be exclusively for the addressee. Should you
receive this message unintentionally, please do not use the contents
herein and notify the sender immediately by return e-mail.
============================================================ ======
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Where is mailx command in Linux..??
am 12.11.2002 04:22:04 von gerardo juarez-mondragon
Nowhere. I think mail does everything mailx did,
(or does?)
You can do something like:
uuencode archex.zip archex.zip | mail -s 'Result
Files' guest@somewhere.com
Or send copies to several parties and other
things the black belts around here will surely
mention.
Gerardo
Searching for the best free email? Try MetaCrawler Mail, from the #1 metasearch service on the Web, http://www.metacrawler.com
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Where is mailx command in Linux..??
am 12.11.2002 05:10:32 von Glynn Clements
Sim, CT (Chee Tong) wrote:
> I found that I can issue mailx command in solaris for example
> mailx -s "subject" abc@yahoo.com < /tmp/text
>
> /tmp/text is the file that contain text
>
> But I found I can't find mailx command in linux, only mail command is
> available
On Linux, mailx is normally installed as /bin/mail. In spite of the
name, it is the same "mailx" program used on other Unices:
$ rpm -qf /bin/mail
mailx-8.1.1-16
> I have to do the following
>
> [root@orange simc]# mail abc@yahoo.com
>
> Subject: good morning
>
> how are you?
>
> Cc:
>
> Is there any way that I can enter one line of command to send mail instead
> of press enter and ctrl-D a few time to compile a mail???
Yes:
mail -s "subject" abc@yahoo.com < /tmp/text
--
Glynn Clements
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Where is mailx command in Linux..??
am 12.11.2002 21:28:43 von mps
On Tue, Nov 12, 2002 at 04:10:32AM +0000, Glynn Clements wrote:
> On Linux, mailx is normally installed as /bin/mail. In spite of the
> name, it is the same "mailx" program used on other Unices:
On Debian /usr/bin/mailx is symbolic link to /usr/bin/mail
Milan
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html