s6-portable-utils: the s6-uniquename program
Keywords: s6-portable-utils command s6-uniquename uniquename random

s6-portable-utils
Software
skarnet.org

# The `s6-uniquename` program

s6-uniquename creates a guaranteed unique file name and prints it to stdout.

## Interface

         s6-uniquename [ -n randomlen ] prefix

- s6-uniquename creates a unique filename starting with prefix involving a TAI64N timestamp, the machine's FQDN and the process' PID.
- It prints it to stdout and exits 0.

## Options

- `-n` randomlen : for added security, also add a random readable string of randomlen characters to the created pathname.