Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Slightly Off Topic - value of variable in unix mail
Hello.
I am trying to enhance a shell script in bash shell on HP UX. I need your help, please. I need the script to mail me if the value of a variable is more than certain number. How can I do this? $free is the variable
If $free > 500
mailx -s "Value of free is :" the _value_of_free shivaswamykr_at_abc.com
fi
is what I want to do .
Can you tell me how I can do this.
Thanks for your help,
Shiva
-- http://www.freelists.org/webpage/oracle-lReceived on Wed Apr 18 2007 - 15:48:52 CDT