'\" te .\" Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. .TH zonename 1 "16 Mar 2011" "SunOS 5.11" "User Commands" .SH NAME zonename \- print name of current zone .SH SYNOPSIS .LP .nf \fBzonename\fR .fi .SH DESCRIPTION .sp .LP The \fBzonename\fR utility prints the name of the current zone. .SH EXIT STATUS .sp .LP The following exit values are returned: .sp .ne 2 .mk .na \fB\fB0\fR\fR .ad .RS 6n .rt Successful completion. .RE .sp .ne 2 .mk .na \fB\fB>0\fR\fR .ad .RS 6n .rt An error occurred. .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Availabilitysystem/core-os _ Interface StabilityCommitted .TE .SH SEE ALSO .sp .LP \fBzlogin\fR(1), \fBzoneadm\fR(1M), \fBzonecfg\fR(1M), \fBattributes\fR(5), \fBzones\fR(5)