touch(1)

πŸ“¦
version 0.7.0 Β· 4 versions
, in epel 10, fedora 43

πŸ’– NAME πŸ’–

touch β€” updates the access and modification times of each FILE to right now, bestie. The current time. Periodt.


✨ SYNOPSIS ✨

touch [--help] [-a ] [-t ] [-d|--date] [-f ] [-m ] [-c|--no-create]
[-h|--no-dereference] [-r|--reference] [--time] [-V|--version] [files]

🌸 DESCRIPTION 🌸

Okay so picture this: every file has two lil timestamps living inside it β€” when you last looked at it (access) and when you last changed it (modification). touch walks up and sets both of those to the current time. That's it. That's the whole vibe. πŸ¦‹

It updates the access and modification times of each FILE to the current time. No cap.


πŸŽ€ OPTIONS πŸŽ€

  • --help β€” prints help info for you, because we all need a lil support sometimes πŸ’…
  • -a β€” change only the access time. Just the access one. Nothing else.
  • -t <STAMP> β€” instead of the current time, use the stamp you hand it, formatted as [[CC]YY]MMDDhhmm[.ss]
  • -d, --date <STRING> β€” parses the argument and uses that instead of the current time
  • -f β€” (ignored) πŸ™ˆ it's just there, chilling. Does nothing.
  • -m β€” change only the modification time
  • -c, --no-create β€” do not create any files
  • -h, --no-dereference β€” affect each symbolic link itself instead of whatever file it points to (only on systems that can actually change the timestamps of a symlink, iykyk)
  • -r, --reference <FILE> β€” steal this file's times and use them instead of the current time πŸ‘‘
  • --time <WORD> β€” change only the specified time: "access", "atime", or "use" are equivalent to -a; "modify" or "mtime" are equivalent to -m

Possible values:

  • atime
  • mtime
  • -V, --version β€” print version
  • [files]

⭐ VERSION ⭐

v(uutils coreutils) 0.7.0


And that's the whole page, bestie β€” you're officially a touch girly now. πŸŒˆπŸ’œ

This lil masterpiece is from touch (uutils coreutils) 0.7.0, and yeah, touch(1) is its manual page home. Go forth and timestamp things. Slay. πŸ’–βœ¨

πŸ“¦ where this page comes from
  • epel 10: rust-coreutils-devel 0.7.0-10.el10_3 Β· MIT
  • epel 10: uutils-coreutils 0.7.0-10.el10_3 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • fedora 43: rust-coreutils-devel 0.7.0-12.fc43 Β· MIT
  • fedora 43: uutils-coreutils 0.7.0-12.fc43 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms