S6-UNIQUENAME(1)
π NAME π
okay bestie, meet s6-uniquename β the manual page is titled S6-UNIQUENAME(1) and it lives in the General Commands Manual. Its whole thing? Create a guaranteed unique file name and print it to stdout. slay.
π¦ SYNOPSIS π¦
s6-uniquename [-n randomlen] prefix
β¨ DESCRIPTION β¨
So s6-uniquename creates a unique filename starting with prefix, and that name involves a TAI64N timestamp, the machine's FQDN, and the process' PID. No cap.
It prints that filename to stdout and exits 0. Periodt.
π OPTIONS π
-n randomlenβ for added security, also add a random readable string ofrandomlencharacters to the created pathname. Cute and chaotic-safe.
π EXIT STATUS π
111β Temporary error.100β Permanent error, such as a misuse.127β Unable to execute program - not found.126β Unable to execute program - other reason.
π SEE ALSO π
the manual says go say hi to these besties: s6-basename(1), s6-cat(1), s6-chmod(1), s6-chown(1), s6-clock(1), s6-cut(1), s6-dirname(1), s6-dumpenv(1), s6-echo(1), s6-env(1), s6-expr(1), s6-false(1), s6-format-filter(1), s6-grep(1), s6-head(1), s6-hiercopy(1), s6-linkname(1), s6-ln(1), s6-ls(1), s6-maximumtime(1), s6-mkdir(1), s6-mkfifo(1), s6-nice(1), s6-nuke(1), s6-pause(1), s6-printenv(1), s6-quote(1), s6-quote-filter(1), s6-rename(1), s6-rmrf(1), s6-seq(1), s6-sleep(1), s6-sort(1), s6-sync(1), s6-tai64ndiff(1), s6-tail(1), s6-touch(1), s6-true(1), s6-unquote(1), s6-unquote-filter(1), s6-update-symlinks(1), seekablepipe(1).
Also, this man page is ported from the authoritative documentation at https://skarnet.org/software/s6-portable-utils/s6-uniquename.html β iconic source behavior, honestly.
π AUTHORS π
- Laurent Bercot β author.
Alexis <flexibeast@gmail.com>β man page port.
That's the whole page, bestie. Footer vibe check: Debian, April 18, 2022, S6-UNIQUENAME(1) β mwah ππ«Ά
π¦ where this page comes from
- nixpkgs unstable: s6-portable-utils 2.3.1.2
- nixpkgs unstable: s6-portable-utils-man-pages 2.3.1.1.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms