Tag:summary of linux commands
-
LINUX retrieves files based on time range
LINUX retrieves files based on time range 1. Find the files between the numbers 2023-01-05 and 2023-01-06 by using the following command: find log/ -name ‘abc.pdf’ -newermt ‘2023-01-05’ ! -newermt ‘2023-01-06’ 2. Find files that were changed 3 days “ago”, 72 hours ago. find /var/log/ -mtime +3 -type f -print 3. Find out the files […]