I tried to Sends email but somehow email not getting out, please help me how I can write shell script in right manner. Thanks and regards
This is the one I tried my end.
set wma = `grep -i "java" sampletest`
mail -v -s "ALERT" firstname.lastname@example.org < alertfile