- 1. touch file: 最简单的使用方式
touch file 最简单的使用方式,将档案的时候记录改为现在的时间。若档案不存在,系统会建立一个新的档案。
dict.youdao.com - 2. touch file: 把文件访问时间设定为现在
... #mkdir -p 自动创建其中不存在的目录 #touch file 把文件访问时间设定为现在 #tee 显示管道里面的内容 ...
dict.youdao.com - 3. touch file: 创建文件
... touch 创建新的文件和修改文件的时间戳 touch file 创建文件 -a 仅修改文件的访问时间 ...
dict.youdao.com - 4. touch -c file: 修改时间戳
dict.youdao.com - 5. touch -m file: 只修改修改时间
dict.youdao.com - 6. touch -a file: 只修改访问时间
dict.youdao.com - 7. touch svn-access-file: 创建用户访问权限配置文件
dict.youdao.com - 8. touch -m -t TIME file: 指定修改时间
dict.youdao.com