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

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

Related questions

+2 votes
asked Jul 28, 2019 in R Language by Aarav2017
+1 vote
asked Jan 18 in JCL by rajeshsharma
0 votes
asked Jun 27 in Microsoft Teams by SakshiSharma