6.0

Table Of Contents
Getting Started with vSphere Command-Line Interfaces
44 VMware, Inc.
DCLI History File
DCLImaintainsahistoryfileforeachDCLIclientthatrunsininteractivemode.Thefilestoresinformationon
aperuserbasisandnotonaperclientbasis.
SpecifythemaximumnumberofcommandstobestoredwiththeDCLI_HISTSIZEva riable.Defaultis500
commands.
Youcanfindthe
fileatthefollowinglocation:
Windows:C:\Users\<username>\AppData\VMware\vapi\dcli.log
vCenterServerAppliance:/var/log/vmware/vapi/dcli.log
DCLI_CREDFILE SetthisvariabletopointtoaDCLIcredentialstorefile.Defaultvalueis
~/.dcli/.dcli_credstore
Passingthecredstore-fileoptiononthecommandlineoverridesvariable.
DCLI_HISTFILE SetthisvariabletopointtoaDCLIinteractiveshellhistoryfilepath.Defaultvalueis
~/.dcli/.dcli_history.
DCLI_HISTSIZE Setthisvariabletospecifythe
maximumnumberofcommandstobestoredintheDCLI
interactiveshellhistory.Defaultis500.
DCLI_LOGFILE SetthisvariabletospecifythelogfileforDCLI.
Table 5-3. Variables Supported by DCLI
Variable Description