Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
TOUCH(1)		     General Commands Manual			TOUCH(1)

NAME
     touch - set modification date of a file

SYNOPSIS
     touch [ -c ] [ -t time ] file ...

DESCRIPTION
     Touch  attempts  to  set the modification time of the files to time (by de-
     fault, the current time).	If a file does not exist, it will be created un-
     less option -c is present.

SOURCE
     /src/cmd/touch.c

SEE ALSO
     ls((1)), stat((3)), chmod((1))

BUGS
     Touch will not touch directories.

									TOUCH(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=touch&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help