每天学习一个linux命令:第七天 touch


touch s1.txt s2.txt s3.txt  创建文件

touch -r s1.txt s2.txt 把s1的时间戳设为s2的

touch -t 201211241522.80 s1.txt  把s1的时间戳设为201211241522.80


猜你喜欢

转载自blog.csdn.net/waaa_fool/article/details/80553517
今日推荐