Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

xxxconhd, www...xxxcon, xx3ooo com, event ID 1078, simba cs, smtp-server: 421 4.3.2 Connection rate limit exceeded., wwwxxx.c, www.xxx.con, mdazadmd00@gmai.com, wwwxxx

Links

XODOX
Impressum

#1: Where is mailx command in Linux..??

Posted on 2002-11-12 03:09:37 by 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
<enter>
Subject: good morning
<enter>
how are you?
<ctrl-D>
Cc:
<enter>
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

Report this message

#2: Re: Where is mailx command in Linux..??

Posted on 2002-11-12 04:22:04 by 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

Report this message

#3: Re: Where is mailx command in Linux..??

Posted on 2002-11-12 05:10:32 by 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
> <enter>
> Subject: good morning
> <enter>
> how are you?
> <ctrl-D>
> Cc:
> <enter>
> 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 <glynn.clements@virgin.net>
-
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

Report this message

#4: Re: Where is mailx command in Linux..??

Posted on 2002-11-12 21:28:43 by 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

Report this message