[GRLUG] Clear the content of a file without deleting it

Justin Denick justin.denick at gmail.com
Thu Dec 29 14:10:33 EST 2005


holy html batman

I've liked echo  > file_name

On 12/29/05, Bill Pribble <Bill.Pribble at haworth.com> wrote:
>
>  #  >  file_name
>
>
>
> Thanks
>
> Bill
>
>
>
>
>
>
>  ------------------------------
>
> *From:* grlug-bounces at grandrapids-lug.org [mailto:
> grlug-bounces at grandrapids-lug.org] *On Behalf Of *kyle victor
> *Sent:* Thursday, December 29, 2005 11:22 AM
> *To:* GRLUG general mailing list
> *Subject:* [GRLUG] Clear the content of a file without deleting it
>
>
>
> 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
>
> i know i have done this on a log file while on the phone with a Oracle
> tech support person
>
> i have very large error_log on this test apache box, and i am trying to
> debug whats right with my script
>
> i know tail works to see the last few lines
>
> but it would be nice to know the command that just wipes that log clean,
> without deleting it and recreating it
>
> any body know the command i an thinking of?
>
>
> thanks
> --
> Kyle Victor MCSA/MCSE/CCNA/Linux +/RHCT
>
> visit Kyle's website at:
> http://computerguykyle.gotdns.com
>
> _______________________________________________
> grlug mailing list
> grlug at grandrapids-lug.org
> http://grlug.org/mailman/listinfo/grlug
>
>
>


--
Got Gentoo?

It usually takes more than three weeks to prepare a good impromptu speech.
                -- Mark Twain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://grlug.org/pipermail/grlug/attachments/20051229/05bf82fb/attachment.htm


More information about the grlug mailing list