Running 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.
To run a vCLI command on Linux
<command> <conn_options> <params>
Specify connection options in a configuration file or pass them on the command line. The extension .pl is not required on Linux. For example:
esxcli - -server <esxi_HOSTNAME_OR_IP> - -username snow\-white - -password dwarf\$ network ip interface list
vicfg-mpath - -server <esxi_HOSTNAME_OR_IP> - -username snow\-white - -password dwarf\$ --list
The system prompts you for a user name and password for the target server.