10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a shell script (.sh) and I want to pass a parameter value to the awk command but I am getting exception, please assist.
diff=$1$2.diff
id=$2 new=new_$diff
echo "My id is $1"
echo "I want to sync for user account $id"
##awk command I am using is as below
cat $diff | awk... (2 Replies)
Discussion started by: Ashunayak
2 Replies
2. Shell Programming and Scripting
Ill try to make this brief:
I am trying to get the script below to run another script defined as BATNAM.
The script runs fine, does what i designed it to do, however...
I would like it to mailx the NEW $pid that was restarted.
This script is supposed to go in crontab as root, and run by... (8 Replies)
Discussion started by: olyanderson
8 Replies
3. Solaris
Hi,
I am using solaris 5.9 OS and I am facing an issues with mailx.
My SMTP port is configured to listen 6190 and not the default one which is 25. I can send mail to my inbox when i do it manually through the following steps
root@<dbname> # telnet 15.12.88.10 6190
Trying 15.12.88.10...... (0 Replies)
Discussion started by: Srinathkiru
0 Replies
4. UNIX for Dummies Questions & Answers
How to use Mailx command in unix shell script, its throwing below error
#!/bin/ksh
let x=3
If ; then
mailx -s $x is greater than 2 example@gmail.com << EOF
This is the message body
EOF
fi
its throwing error as syntax error at EOF... (10 Replies)
Discussion started by: only4satish
10 Replies
5. Linux
Hi All,
I am facing problem in sending Japanese characters using mailx command in GNU linux machine.
The mail is going with junk characters like "ใกใผใซใฎไธ-็ใธใใใใ".
I tried changing the LANG value to japan locale off UTF-8. But it doesn't worked. I have to send the data as body not as an... (0 Replies)
Discussion started by: Karteek
0 Replies
6. Shell Programming and Scripting
Hi,
I am using mailx command to send mail.
But unable to use -c option to send mails by cc list.
eg.
..mailx -s "subject" -c "CCLIST" "TOLIST"
Its showing " illegal option -- c"
I am using HP UX.
Can anybody help me out.
Thanks in advance..! (3 Replies)
Discussion started by: Kattoor
3 Replies
7. Shell Programming and Scripting
I have script to send report to the recipent along with a short decription of a message. But unfortunatly it fails to deliver the report as attachment nothing apart from the message come,
please find the part where I am getting stuck and confused ... please check out if you have any better... (1 Reply)
Discussion started by: nicknihal
1 Replies
8. Shell Programming and Scripting
Hello,
I am new to mailx and perl and I need help.
I need create a shell script to read the mails on the SUN server, then parse the subject line and message body of each email to extract particular data so that I can pass these data fields in as application parameters to invoke a java... (4 Replies)
Discussion started by: jliharper
4 Replies
9. Shell Programming and Scripting
Greetings all,
I'm pretty new to the use of mailx, having been using mutt most of the time. I'm interested to know how I can use mailx within a shell script to send out a formatted email with the following criterion:
1. My recipient's address is abcdef1000@gmail.com
2. The message body is... (2 Replies)
Discussion started by: rockysfr
2 Replies
10. Shell Programming and Scripting
Hi..
How can i use mailx,mail command in Shell Script.
Suppose i gave a condition that x value is above 25 send a mail alert to abc@rediffmail.com.
How can i do this?
Regards
Sollin (16 Replies)
Discussion started by: sollin
16 Replies