• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in DevOps by
Q:
I want to delete 10 days older log files. How can I?

1 Answer

0 votes
by

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 Jun 30 in Apache Storm by rajeshsharma
0 votes
asked Feb 17, 2020 in Git by SakshiSharma
...