Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Slightly Off Topic - value of variable in unix mail

Slightly Off Topic - value of variable in unix mail

From: Shivaswamy Raghunath <shivaswamykr_at_gmail.com>
Date: Wed, 18 Apr 2007 16:48:52 -0400
Message-ID: <1e52ad820704181348y23c19194sde63b7b7e86926f7@mail.gmail.com>


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-l
Received on Wed Apr 18 2007 - 15:48:52 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US