May 11, 2017

[HDGEM] How to use variable in subjuect of mailx command

input_start=$(date -d 'yesterday' +%F)
input_end=$(date +%F)

subject='done '$startdate' - '$enddate' '$length
mailx -s "$subject" -- [email protected] < /dev/null

Posted By Blogger to HDGEM at 5/11/2017 08:37:00 AM
Post a Comment

Featured Post

Keep your API key private.

If someone obtains your key, they could use it to consume your quota or incur charges against your API Console project.