![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Carbon copy for a mail in mailx command | miltony | Shell Programming and Scripting | 11 | 05-15-2009 03:26 AM |
| How to set HIGH importance to a mail sent through mailx or sendmail command | mitte_dino | UNIX for Dummies Questions & Answers | 3 | 01-29-2009 03:02 PM |
| Regarding mailing to a distribution list (DL) using mail/mailx command | naren_0101bits | Shell Programming and Scripting | 1 | 02-06-2008 12:25 PM |
| unable to sent mail in html format by mailx command. | p_prathaban | UNIX for Advanced & Expert Users | 17 | 11-07-2007 03:03 AM |
| Mail command in a shell script | garric | Shell Programming and Scripting | 0 | 04-21-2006 09:59 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How to use mail,mailx command in Shell Script ?
Hi..
How can i use mailx,mail [COLOR=Blue]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 |
|
||||
|
|
|
||||
|
unary operator overloaded error
#!/bin/sh
# TestMail1.sh: Sample Mail Script val1= cut -c 27 filename if [ $val1 -gt 25 ] then mail -s "$val1 is greater than 25" abc@rediffmail.com fi After executing above code i'm getting below error: ./TestMail1.sh: Line 4: [: -gt: unary operator overloaded Plz anyone help me this regards |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|