The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
mailx mike509123 Linux 4 07-08-2008 11:02 AM
mailx ratna UNIX for Advanced & Expert Users 2 05-05-2008 05:10 AM
mailx -s is showing an error Renjesh SUN Solaris 6 03-23-2008 04:32 AM
mailx error message : mailx: NUL changed to @ BG_JrAdmin UNIX for Dummies Questions & Answers 2 12-01-2005 06:27 AM
mailx error Deepa UNIX for Advanced & Expert Users 2 10-28-2002 11:35 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-11-2007
Registered User
 

Join Date: Sep 2005
Posts: 38
getting mailx error

Hi,
I was using SunOS 5.6. I have used the mailx command in below fashion

mailx -s"RE: WES 'ftp' alert...no HDR record" ushman@lucent.com

Last week only I upgraded the Operating System from SunOS 5.6 to SunOS5.9. But after upgrading the OS I am getting the following error.

The flags you gave are used only when sending mail.
Usage: mailx -eiIUdFntBNHvV~ -T FILE -u USER -h hops -r address
-s SUBJECT -f FILE users


Please some one help me out.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 09-11-2007
Registered User
 

Join Date: Sep 2007
Posts: 4
my HP-UX mailx command requires a body - and you are not piping any input to mailx. however, in your case, maybe you just simply need a space between the -s option and the "subject" ( -s subject )...
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:47 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0