Examveda
Examveda

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

A. -a

B. -b

C. -t

D. -h

E. None of the above

Answer: Option A

Solution(By Examveda Team)

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.

This Question Belongs to Computer Science >> Unix

Join The Discussion

Comments ( 1 )

  1. Harsh Kumar
    Harsh Kumar :
    3 years ago

    All first 4 option same

Related Questions on Unix