How do I delete old log files in Linux?

Ngân Lam

New member
How do I delete old log files in Linux?
Answer
How to Delete Files Older than 30 days in Linux
  1. Delete Files older Than 30 Days. You can use the find command to search all files modified older than X days. And also delete them if required in single command. …
  2. Delete Files with Specific Extension. Instead of deleting all files, you can also add more filters to find command.
15 окт. 2020 г.
 

Tìm kiếm

Back
Top