linux 自学系列:touch 命令

touch [options] 文件列表

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

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

常用选项: -t

touch -t 201211121023 file1

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

posted @ 2012-11-27 16:58  践道者  阅读(179)  评论(0编辑  收藏  举报