TOUCH(1)
π TOUCH(1) β like, the manual page bestie
okay so this is touch, and it lives in the General Commands Manual (section 1, iykyk). it's genuinely one of the most-used little gremlins in all of Unix and honestly? iconic. let's get into it π«Ά
β¨ NAME β¨
touch β update the access and modification times of each FILE to the current time.
like⦠that's it. that's the whole vibe. it touches files. it updates timestamps. main character energy fr fr.
π¦ SYNOPSIS π¦
touch [OPTION]... [FILE]...
options first, files second, no cap. β¨
πΈ DESCRIPTION πΈ
Update the access and modification times of each FILE to the current time.
that's the literal description and honestly bestie, it's doing exactly what it says on the tin. the way that a single word command can just set your timestamps to now? obsessed. π
π OPTIONS π
okay this is the part you actually came for, so let's go, one by one, no skipping, we're doing all of them π
--helpβ prints help information. your little "wait what does this do again" bestie π-aβ changes only the access time. just the atime, nothing else, she's focused π-t <STAMP>β instead of the current time, use a stamp in the format[[CC]YY]MMDDhhmm[.ss]. yes the double brackets mean the century and year bits are optional. yes it's giving old-school. no you don't get to skip them randomly, read the format carefully β-d,--date <STRING>β parses the argument and uses that instead of the current time. so you hand it a date string and she'll figure it out π-fβ (ignored). literally ignored. she's here, she's listed, she does nothing. honestly? mood π-mβ changes only the modification time. mtime girlies rise π§-c,--no-createβ do not create any files. so if the file doesn't exist, nothing happens. no surprise babies π-h,--no-dereferenceβ affects each symbolic link instead of whatever file it points to. important caveat bestie: this only works on systems that can actually change the timestamps of a symlink π-r,--reference <FILE>β uses this file's times instead of the current time. copy her timestamps, she won't mind π¦--time <WORD>β change only the specified time. the mapping is:"access","atime", or"use"are all equivalent to-a"modify"or"mtime"are both equivalent to-m
and the possible values are listed as:
atimemtime
iykyk π₯
-V,--versionβ prints the version. standard behavior, slay π[files]β the files. the actual targets. the whole point. put them here bestie π
lowkey reminder:-thas that funky[[CC]YY]MMDDhhmm[.ss]format and-d/--datetakes aSTRING, so don't mix them up. also-fis genuinely ignored, that's not me being shady, that's the manual. π
β VERSION β
v(uutils coreutils) 0.12.0
aaaand that's the whole page, bestie!! you ate that. go forth and touch things responsibly πβ¨π
touch β from the General Commands Manual, v(uutils coreutils) 0.12.0, dated 2026-09-17. version 0.12.0 and 2026-09-17, mwah π
π¦ where this page comes from
- arch rolling: uutils-coreutils 0.12.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms