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

  • From: "GovindanK" <gkatteri@xxxxxxxxxxx>
  • To: shivaswamykr@xxxxxxxxx, "Oracle-L Freelists" <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 18 Apr 2007 17:41:22 -0700

$ man if will give you more.

hth

GovindanK
On Wed, 18 Apr 2007 16:48:52 -0400, "Shivaswamy Raghunath" 
<shivaswamykr@xxxxxxxxx> 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@xxxxxxx

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@xxxxxxx

Other related posts: