touch
分类
描述
创建空文件或更新文件时间戳
语法
touch [选项] 文件...
常用选项
使用示例
- touch newfile.txt: 创建空文件
- touch -t 202601011200 file.txt: 设置文件时间为2026年1月1日12:00
相关命令