System Management
zonename
Prints the current zone name.
Illumos
Verified: 2026-05-11
Syntax
$zonename
Examples
$zonename
Typical use cases
?
Standard usage
zonename --help
Note
Useful in scripts to detect global vs non-global zone context.
Export