Cisco Cisco Process Orchestrator 3.1 User Guide
13-266
Cisco Process Orchestrator 3.1 User Guide
Appendix 13 Using Adapters
Cisco Process Orchestrator Adapter Help for Terminal Adapter
Script to execute:
#! /bin/csh
echo ${0}
echo "Number of arguments is $#argv"
echo $2
echo $argv[2-3]
echo $argv[$]
exit
Script argument:
% argex.csh "hello world" 42 3.14159 "(300:400,~100)"
argex.csh
Number of arguments is 4
42
42 3.14159
(300:400,~100)
See Also
Script Argument Syntax
Any command-line arguments can be accessed as shell variables inside a script. The following table
contains script arguments which can be used inside a script.
contains script arguments which can be used inside a script.
${0}—The name of the script being run
$?name—Returns 1 if the variable name is defined, or 0 if it is not defined
$n—The value of the n argument passed to the script
$argv[n]—The value of the n argument passed to the script
$#argv—The number of arguments passed to the script
$*—All the arguments supplied to the script
$$—Process identification number (useful for making temporary files with unique names)
Viewing Terminal Activity Results
Viewing Execute Terminal Command(s) Results
The Execute Terminal Command(s) display-only tab displays the properties used to send commands to
a SSH session started by a previous Open Terminal Session activity.
a SSH session started by a previous Open Terminal Session activity.
Step 1
In the Operations workspace, click the Activity Views folder.