Javatpoint Logo
Javatpoint Logo

Linux touch -t command

with this command, you can change the access time of a file by determining a specified time to it.

It will modify the time by specified time instead of default time.

Format of time will be:

Below screenshot shows status of file 2.png before the touch command,

TOUCH -t Command

This screenshot shows that time of file 2.png has been modified by our specified time.

TOUCH Command
Next TopicLinux Touch c

Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


B.Tech / MCA