The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to delete files with certain ext? tonyvirk UNIX for Dummies Questions & Answers 4 12-09-2007 11:57 AM
How to delete files ?? preethgideon UNIX for Dummies Questions & Answers 5 10-29-2007 12:51 AM
Delete files with 0kb mephisto UNIX for Dummies Questions & Answers 3 10-23-2006 07:45 AM
when I try to run rm on multiple files I have problem to delete files with space umen UNIX for Dummies Questions & Answers 1 09-20-2005 12:20 AM
I can't delete some files DISTURBED UNIX for Dummies Questions & Answers 4 08-01-2002 08:15 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-29-2006
Registered User
 

Join Date: Mar 2006
Posts: 9
how to delete log files

Hi,
I want to delete the old log files in the logs directory.
I want to keep logs for a week.What comamnd should i use?
Log file name is prcsstop_121105.log

Many Thanks,
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-29-2006
Technorati Master
 

Join Date: Mar 2005
Location: Large scale systems...
Posts: 2,593
there had been so many threads and posts discussing the same issue in this forum

use the search option in the forum

hint
would be to use
find and mtime
Reply With Quote
  #3 (permalink)  
Old 03-29-2006
Registered User
 

Join Date: Mar 2006
Posts: 9
Many Thanks.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:32 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0