Extended Object: Checking for commands in the path

Version 2

    This extended object, if placed on the appserver, allows you to check for the existence of a command (the second argument) on a host (the first argument).  It essentially runs a 'which' command on the remote host.


    1. Copy the attached script to the appserver.

    2. Create an extended object:


    • Central Execution


    • All UNIX operating systems


    • Command: /usr/nsh/scripts/check_cmd_in_path ??HOST?? gzip (this would check for gzip in the path)