ctime, mtime and atime are very useful commands when dealing with time related search commands in the linux Family of operating systems.
![ctime; Linux find command](https://sp-ao.shortpixel.ai/client/q_lossy,ret_img,w_259,h_194/http://www.abelworld.com/wp-content/uploads/2016/06/images.jpeg)
ctime; Linux find command
This post is about how to use them in
a simple but yet very powerful way. Let’s get to it:
Let say you want to find all files in a folder that follow/fulfill the following criteria:
- the folder is /vat/lib/mysql/data
- The file name contains: mysql-bin.
- The files are younger than 2 days.
In other words find all the mysql binary log files that are not older than 2 days. Continue reading