To find files that were modified on a specific date on a Unix or Linux system, you can use the find command with the -mtime option.
Here is the basic syntax for using the find command to find files modified on a specific date:
find /path/to/search -mtime n
The /path/to/search argument is the path to the directory where you want to search for files. The -mtime n option tells the find command to search for files that were modified n days ago.
For example, to find all files modified in the last 24 hours (1 day), you can use the following command:
find /path/to/search -mtime -1
To find all files modified exactly 1 day ago, you can use the following command:
find /path/to/search -mtime 1
To find all files modified more than 1 day ago, you can use the following command:
find /path/to/search -mtime +1
You can also use the -newer option to find files modified after a specific date.
For example, to find all files modified after a specific date, you can use the following command:
find /path/to/search -newer "Jan 01 2020"
This will find all files modified after January 1, 2020.