Linux Help

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

Moderators: egami, macek, gesf

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

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: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

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:
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";
Image

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests