Vidyalelo
Computer Science · Q136

UNIX

Engineering and GATE · Computer Science · question 136

Q136

Major expressions used with find command to select file is it has been accessed in more than 375 days, is

A.
-atime +375
Answer
B.
-mtime +375
C.
-ctime +375
D.
-newermt +375 days
E.
None of the above

Answer: Option A

Solution

Answer: Option A
Solution:
The -atime option with +375 is used with the find command to select files that have been accessed more than 375 days ago. This option looks at the access time of the file.
Options B, C, and D are incorrect as they refer to modification time (-mtime), change time (-ctime), and specifying a newer modification time respectively, which are not suitable for selecting files based on access time.