Tuesday, June 5, 2012

How to delete log file in Unix



delete the file of 10 days old with this command

find . -mtime +10 -exec rm "{}" ";"

No comments:

Post a Comment