Using BLCLI commands within an NSH script


Within an NSH script, you can use:

  • BLCLI commands in the format <Name Space> <Command Name> [Argument1] ... [ArgumentN].
     Example: Server addServer myNewServer
     BLCLI commands are described in the reference sections of this help system.
  • Embedded performance commands
     The BLCLI performance commands are available only inside an NSH shell or NSH script. These commands run faster than the same commands run by using the normal BLCLI.
     Performance commands are described in detail in [NSH performance commands. Some example performance commands are:
    • blcli_setoption
    • blcli_connect
    • blcli_execute
    • blcli_storeenv
  • NSH commands
     For the most part, these are file manipulation utilities designed to look and feel like their UNIX counterparts (grep, mkdir, and so forth). There are man pages available for all of the NSH commands.

To examine a sample script, see Sample NSH script - SetServerPropertyValue.nsh.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*