Hi,
OS: Solaris 10
I am writing a script to email a file to my email id.
instead of each time trying to type whole command, I want just enter file name then it should email me that file as attachment. Following is the script.
============================================
echo "Script to email a file"
echo "Enter file name :\c"
read FILENAME
echo "emailing $FILENAME"
uuencode $FILENAME $FILENAME | mailx -s "$V_FILENAME"
xyz@abc.com
echo "file has been emailed"
=======================================
I need help your help...
Thx,
Raj