White Papers
New Features and Usability Enhancements to RACADM Commands in iDRAC7
5
autocomplete
This feature enhances the usability of the RACADM CLI by displaying all the available RACADM
commands in alphabetical order when you press Tab.
Using autocomplete for commands
To use this feature, press the Tab key to list all the RACADM subcommands in alphabetical order. If
you type one or two letters and then press Tab, this feature automatically fills in the command.
For commands that begin with the same letter, autocomplete lists the possible commands that begin
with that letter. For example, if you type i then press Tab, autocomplete lists the following:
ifconfig
inlettemphistory
To use autocomplete to execute a command, type part of the command that is unique, press Tab, and
then press Enter. For example, to use autocomplete to execute the ifconfig command, type the first
two letters of the command:
if
Press Tab to display the command:
ifconfig
And press Enter to execute the command.
Using autocomplete command options
The racadm shell now provides auto completion of subcommand options. If you know the command,
but need to know the options available, you can enter the command and press Tab for autocomplete.
For example, see the following syntax for the racadm license export command:
racadm license export -f license_a.xml -u administrator -p Hello1$ -l
//10.194.181.221/DUPS -c idrac.embedded.1
Typically, if you didn't know what to enter after export, you could use the help command to find the
answer. An easier way to find the answer is by using autocomplete. Simply press Tab after export, and
autocomplete will enter the next necessary option for the command. For example, entering:
racadm>>license export <tab>
will display
racadm>>license export -f