<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>I have log files will mail from LINUX to my PC (MS exchange and outlook).</DIV>
<DIV> </DIV>
<DIV>When I look the E-MAIL, the log file line is unwrap. My script did use "unix2dos" to convert format. anyone know why?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>====== script =============</DIV>
<DIV> </DIV>
<DIV>tail -30 /var/log/messages > /tmp/diskmsg.log</DIV>
<DIV>unix2dos /tmp/diskmsg.log<BR>mail -s "Check log" dba101<A href="mailto:dba101@yahoo.com">@yahoo.com</A> </tmp/diskmsg.log</DIV></td></tr></table><br>
<table align=left border=0 cellspacing=0 width="100%"><tr><td bgcolor=black height=1>
</td></tr><tr><td height=40> 想知道無聊生活如何大變身嘛? - <a href="http://tw.rd.yahoo.com/referurl/mail/dc/campiagn/*http://tw.promote.mail.yahoo.com/dc/change.html"><strong>馬上瞧瞧</a>!</td></tr></table>