touch不仅仅可以创建文件,更为主要的功能是修改mtime和atime,

默认情况下,将atime或mtime更新为当前时间,具体的使用方式,man一下便知道,

举个例子,如下:

touch –mt 1205021530.15 somefile.txt

相关文章:

  • 2021-12-19
  • 2021-09-20
  • 2022-02-24
  • 2021-06-09
  • 2021-11-14
  • 2021-07-30
  • 2021-05-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-20
  • 2021-09-29
  • 2022-12-23
  • 2021-11-17
  • 2021-06-29
  • 2021-12-04
相关资源
相似解决方案