Run Host Management
Commands from a Linux System
After
installation, you can run vCLI commands and vSphere SDK for Perl utility
applications at the command prompt.
- Open a command prompt.
- Change to the directory where you installed the vCLI.Default is/usr/bin.
- Run the command, including the connection options.<command> <conn_options> <params>Specify connection options in a configuration file or pass them on the command line. The extension.plis not required on Linux. The following examples show the difference between ESXCLI andvicfg-syntax.esxcli --server <esxi_HOSTNAME_OR_IP> --username snow\-white --password dwarf\$ network ip interface listvicfg-mpath --server <esxi_HOSTNAME_OR_IP> --username snow\-white --password dwarf\$ --listThe system prompts you for a user name and password for the target server.