Linux Help

Bar discussions . Talk about everything not only php !. Guests are welcome here , forum registration is not required.

Moderators: macek, egami, gesf

liquedus
php-forum Active User
php-forum Active User
Posts: 266
Joined: Tue Apr 08, 2003 5:18 am
Location: Ottawa, Canada
Contact:

Linux Help

Postby liquedus » Fri May 14, 2004 6:36 pm

Hi guys,

I encountered a problem that I need help with and hope someone can assist me.

On a Linux box, I have log files building, they have a process ID attached to them. I need to clear out those files without killing the pid.

Someone suggested the command 'touch' but that didnt work.

All I need to do, is basically clear out the log.

Thanks for any help.

User avatar
WiZARD
Moderator
Moderator
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Re: Linux Help

Postby WiZARD » Sat May 15, 2004 2:45 am

liquedus wrote:Hi guys,

I encountered a problem that I need help with and hope someone can assist me.

On a Linux box, I have log files building, they have a process ID attached to them. I need to clear out those files without killing the pid.

Someone suggested the command 'touch' but that didnt work.

All I need to do, is basically clear out the log.

Thanks for any help.

Propose at each day save personal log in file like today.month.year.log you may create it by cron.
but how to delete i dont know sorry :sad:


Return to “Free time”

Who is online

Users browsing this forum: No registered users and 1 guest