uuidparse - Man Page
a utility to parse unique identifiers
Examples (TL;DR)
- Parse the specified UUIDs, use a tabular output format:
uuidparse uuid1 uuid2 ...
- Parse UUIDs from
stdin
:command | uuidparse
- Use the JSON output format:
uuidparse --json uuid1 uuid2 ...
- Do not print a header line:
uuidparse --noheadings uuid1 uuid2 ...
- Use the raw output format:
uuidparse --raw uuid1 uuid2 ...
- Specify which of the four output columns to print:
uuidparse --output UUID,VARIANT,TYPE,TIME
- Display help:
uuidparse -h
Synopsis
uuidparse [options] uuid
Description
This command will parse unique identifier inputs from either command line arguments or standard input. The inputs are white-space separated.
Output
Variants
NCS | Network Computing System identifier. These were the original UUIDs. |
DCE | The Open Software Foundation’s (OSF) Distributed Computing Environment UUIDs. |
Microsoft | Microsoft Windows platform globally unique identifier (GUID). |
other | Unknown variant. Usually invalid input data. |
Types
nil | Special type for zero in type file. |
time-based | The DCE time based. |
DCE | The DCE time and MAC Address. |
name-based | RFC 4122 md5sum hash. |
random | RFC 4122 random. |
sha1-based | RFC 4122 sha-1 hash. |
unknown | Unknown type. Usually invalid input data. |
Options
- -J, --json
Use JSON output format.
- -n, --noheadings
Do not print a header line.
- -o, --output
Specify which output columns to print. Use --help to get a list of all supported columns.
- -r, --raw
Use the raw output format.
- -h, --help
Display help text and exit.
- -V, --version
Print version and exit.
Authors
See Also
uuidgen(1), libuuid(3), RFC 4122
Reporting Bugs
For bug reports, use the issue tracker at https://github.com/util-linux/util-linux/issues.
Availability
The uuidparse command is part of the util-linux package which can be downloaded from Linux Kernel Archive.
Referenced By
2024-04-24 util-linux 2.40.2