Avatar of aixtutorial
Flag for United States of America

asked on 

This is in unix aix..need a script

This is in Unix AIX..i ahve a script which send an e-mail of the contents of a file
echo "Dev" | mailx -s 'Values for tables - s_log and - a_log and  b_log'-v 'aixtutorial@gmail.com' < /obie/BI/output.txt

The above script sends e-mail which has the value of the ouput.txt in the body of the e-mail..I want the output of the output.txt file in the subject of the e-mail..Can you please provide a script as how this can be done

Unix OSLinux

Avatar of undefined
Last Comment

8/22/2022 - Mon