1) Create an empty file
Below will create 0 bytes file called 'test123'. It will change the modification/access timestamp.
#touch test123
Touch -c avoid creating non-existence file.
2)Create new file's timestamp
#touch -t 05070915 test123
3)Change modification time
# touch -m test123
4) Change access time
# touch -a test123
5)Copy other file's timestamp.
#touch try123 -r test123
No comments:
Post a Comment