Which option is used with touch command to change the time of last file modification?

Which option is used with touch command to change the time of last file modification?
A. -a
B. -m
C. -r
D. -i
 
Answer: b
Explanation: Touch command when used with -m option and an expression will change the modification time of the file. For example,
Code:
$ touch -m 02281030  emp.txt ; ls  -l emp.txt
rw-rw-rw  1  abd  metal  870 Feb  28  10:30  emp.txt
 

Tìm kiếm

Back
Top