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

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

Re: Slightly Off Topic - value of variable in unix mail

From: GovindanK <gkatteri_at_fastmail.fm>
Date: Thu, 19 Apr 2007 00:41:22 UT
Message-Id: <1176943282.18198.1185370685@webmail.messagingengine.com>

$ man if will give you more.

hth

GovindanK
On Wed, 18 Apr 2007 16:48:52 -0400, "Shivaswamy Raghunath" <shivaswamykr_at_gmail.com> said:

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 [1]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

References

  1. mailto:shivaswamykr_at_abc.com
--
http://www.freelists.org/webpage/oracle-l
Received on Wed Apr 18 2007 - 19:41:22 CDT

Original text of this message

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