troubleshooting Question

This is in unix aix..need a script

Avatar of aixtutorial
aixtutorialFlag for United States of America asked on
Unix OSLinux
1 Comment1 Solution391 ViewsLast Modified:
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

ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros