in DevOps by
I want to delete 10 days older log files. How can I?

▼ Show 1 Answer

0 votes

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

Learn More with Madanswer