Hi ,
I am trying to write a script , in which I want to use if else statement.I have check both the parts but to connectiing them I want to add a syntax in between. My script is as follows , kindly suggest me the correct syntax for it.
if [ mailfrom = *@domain.com ]
then
...
..
else
...
What syntax I can use here so as to complete this script mailfrom = *@domain.com.
Regards
Vaibhav