Q39
Which option will be used with touch command to change the access time?
A.
-a
AnswerB.
-b
C.
-t
D.
-h
E.
None of the above
Answer: Option A
Solution
Answer: Option A
Solution:
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.