書式
touch ファイルパス
				
			
				説明
					タイムスタンプを変更/空のファイルを作成します。touch test.txtとすると空のファイル(0バイトのファイル)が作成されます。タイムスタンプを変更するにはtouch -t MMDDhhmm ファイル名とします。(MM:月、DD:日、hh:時、mm:分)
					
					| オプション | 内容 | 
					| -a | アクセス時刻を設定 | 
					| -c |   | 
					| -f | アクセス権がなくても設定 | 
					| -m | 修正時刻を設定 | 
					| -r |   | 
					| -t | アクセス時刻/修正時刻を設定 | 
					
				 
			
					
実行結果
					
PowerMacG5x2:~/tests/sample g5$ ls -l
PowerMacG5x2:~/tests/sample g5$ touch test.txt
PowerMacG5x2:~/tests/sample g5$ ls -l
total 0
-rw-r--r--   1 g5  g5  0 Dec 25 22:45 test.txt
PowerMacG5x2:~/tests/sample g5$ touch -t 12240145 test.txt 
PowerMacG5x2:~/tests/sample g5$ ls -l
total 0
-rw-r--r--   1 g5  g5  0 Dec 24 01:45 test.txt
PowerMacG5x2:~/tests/sample g5$