Go to main content

Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: April 2019
 
 

Displaying the Name of the Current Zone

The zonename command described in the zonename(1) man page displays the name of the current zone. The following example shows the output when zonename is used in the global zone.

$ zonename
global