How do I remove old Linux logs?

How do I remove old Linux logs?
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. …
  2. Delete Files with Specific Extension. Instead of deleting all files, you can also add more filters to find command. …
  3. Delete Old Directory Recursively.
 

Tìm kiếm

Back
Top