ExamVeda
Login
Home
This question belongs to Computer Science Unix
Unix
?

Which option will be used with touch command to change the access time?

Answer & Solution
Correct Answer: Option A
In Unix, the touch command is used to change file timestamps, including access (atime) and modification (mtime) times. The -a option, when used with touch, updates only the access time of the file to the current time without modifying the file's content.
So, -a is the option used with the touch command to change the access time of a file.
Examveda
Question posted by Examveda
Community

Join the Discussion

1 Comment
Harsh Kumar
Harsh Kumar 6 years ago
All first 4 option same