美文网首页
Linux02命令之touch

Linux02命令之touch

作者: 问道心路长几许 | 来源:发表于2017-06-02 14:32 被阅读12次

相对于ls命令,touch命令参数显得就少的可怜了,

touch-a  change only the access time

只是改变访问事件

touch-c,--no-createdo not create any files

   不创建不存在的文件

touch-m change only the modification time,只更新修改时间,不改变访问时间

touch-r,--reference=FILE

use this file’s times instead of current time

使用文件file的时间更新文件的时间

touch-t STAMP use [[CC]YY]MMDDhhmm[.ss] instead of current time

将时间修改为参数指定的日期,如:07081556代表7月8号15点56分

相关文章

  • Linux02命令之touch

    相对于ls命令,touch命令参数显得就少的可怜了, touch-a change only the access...

  • Linux自学笔记(三)

    文件处理命令:touch 命令名称:touch命令所在路径:/bin/touch执行权限:所有用户语法:touch...

  • linux 命令行整理1

    touch命令:正如老方讲述的,touch用于创建文件。 命令写法: touch xx 创建一个文件 touch...

  • Linux文件处理命令

    文件处理命令:touch 命令所在路径:/bin/touch执行权限:所有用户语法: touch [文件名] 功能...

  • Linux命令之touch

    linux的touch命令不常用,一般在使用make的时候可能会用到,用来修改文件时间戳,或者新建一个不存在的文件...

  • (9) touch命令

    命令格式 touch [参数] 文件 命令功能 新建文件 命令参数 touch --help 常用命令 创建不存在...

  • Linux——文件系统操作

    文件操作命令: 1)创建新文件 touch touch [参数] [文件名] 命令参数: -a 只更改存...

  • Linux常用命令--2、文件处理命令

    1、touch ①命令所在路径:/bin/touch ②执行权限:所有用户 ③语法:touch [文件名] ④功能...

  • 9.touch

    touch 命令所在路径: /bin/touch 执行权限: 所有用户 语法: touch 文件名 功能描述:...

  • touch 命令

    touch -- change file access and modification times Thetou...

网友评论

      本文标题:Linux02命令之touch

      本文链接:https://www.haomeiwen.com/subject/evkufxtx.html