Linux command
uuidparse 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Parse
uuidparse [uuid1] [uuid2]
Example
[command] | uuidparse
JSON
uuidparse -J [uuid1] [uuid2]
No header
uuidparse -n [uuid1] [uuid2]
Raw
uuidparse -r [uuid1] [uuid2]
Example
uuidparse -o [UUID,VARIANT,TYPE,TIME]
说明
uuidparse parses and displays information about UUIDs. It shows the variant (e.g., DCE), type (e.g., random, time-based), and embedded timestamp for time-based UUIDs. The tool can parse UUIDs from command-line arguments or standard input.
参数
- -J, --json
- JSON output format
- -n, --noheadings
- Don't print header line
- -r, --raw
- Raw output format
- -o, --output _COLUMNS_
- Select output columns (supported: UUID, VARIANT, TYPE, TIME).
- -V, --version
- Display version information and exit.
- -h, --help
- Display help information
FAQ
What is the uuidparse command used for?
uuidparse parses and displays information about UUIDs. It shows the variant (e.g., DCE), type (e.g., random, time-based), and embedded timestamp for time-based UUIDs. The tool can parse UUIDs from command-line arguments or standard input.
How do I run a basic uuidparse example?
Run `uuidparse [uuid1] [uuid2]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -J, --json do in uuidparse?
JSON output format