linux 自学系列:touch 命令

touch [options] 文件列表

若文件不存在,则建立一个文件

默认情况会将文件记录改为当前时间

常用选项: -t

touch -t 201211121023 file1

将file1 的时间记录改为 2012年11月12日10点23分

原文地址:https://www.cnblogs.com/bjdxy/p/2791104.html