about 10 seconds after i hit send i found it<br>
<br>
: &gt; filename<br>
<br>
thanks though<br><br><div><span class="gmail_quote">On 12/29/05, <b class="gmail_sendername">kyle victor</b> &lt;<a href="mailto:computerguy.kyle@gmail.com">computerguy.kyle@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
i know there is a command that will clear the content of a file without deleting it, but i can not remember what it is<br>
<br>
i know i have done this on a log file while on the phone with a Oracle tech support person<br>
<br>
i have very large error_log on this test apache box, and i am trying to debug whats right with my script<br>
<br>
i know tail works to see the last few lines<br>
<br>
but it would be nice to know the command that just wipes that log clean, without deleting it and recreating it<br>
<br>
any body know the command i an thinking of?<br clear="all"><br>
<br>
thanks<br><span class="sg">-- <br>Kyle Victor MCSA/MCSE/CCNA/Linux +/RHCT<br><br>visit Kyle's website at:<br><a href="http://computerguykyle.gotdns.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://computerguykyle.gotdns.com</a>

</span></blockquote></div><br><br clear="all"><br>-- <br>Kyle Victor MCSA/MCSE/CCNA/Linux +/RHCT<br><br>visit Kyle's website at:<br><a href="http://computerguykyle.gotdns.com">http://computerguykyle.gotdns.com</a>