Low Orbit Flux Logo 2 F

Linux Command - touch

touch - touch a file



touch -r /etc/hosts test.py

-a only change access time
-c don’t create
-d specify a date
-m only change modification time
-r use time of this file instead of current time
-t STAMP specify time stamp like this: [[CC]YY]MMDDhhmm[.ss]
–time also can be used to change the time …
-d parse a free format date string ex: “Sun, 29 Feb 2004 16:21:42 -0800”