Dec 1, 2019 in DevOps
Q: I want to delete 10 days older log files. How can I?

1 Answer

0 votes
Dec 1, 2019

There is a command in unix to achieve this task find <directory_path> -mtime +10 -name “*.log” -exec rm -f {} \; 2>/dev/null

What is the difference among chef, puppet and ansible?

Chef Puppet Ansible

Interoperability Works Only on Linux/Unix Works Only on Linux/Unix Supports Windows but server should be Linux/Unix

Conf. Language It uses Ruby Puppet DSL YAML (Python)

Availability Primary Server and Backup Server Multi Master Architecture Single Active Node

Click here to read more about DevOps
Click here to read more about Insurance
...