Touch -t

Adnan Khurshid on June 6th, 2011

touch command is used to modify the timestamps of the file. Suppose, you want to modify the time stamp of the file top.txt, use the command as follows: linux:~ # ls -l top.txt -rw-r–r–  1 root root 9637 Apr  2 00:20 top.txt linux:~ # linux:~ # touch -t 201106062145 top.txt linux:~ # ls -l top.txt […]

Continue reading about How to modify the timestamp of files in Linux