touch(1)の使用例

概要

ファイルのアクセス時刻と修正時刻を変更するプログラム

使い方

現在の時刻でファイルを新しく作成
# ls -l test.file
ls: test.file: そのようなファイルやディレクトリはありません
# touch test.file
# ls -l test.file
-rw-r--r-- 1 root root 0 10月 11 21:39 test.file

仕様

  • LSB4.0
以上

コメント