The following is the beginning of a shell script. Which statement is true if the user issues “./send_traps.sh 10.1.1.1” at the CLI without the quotes?
A. The script will fail because only one variable is specified by the user at the CLI.
B. The trapgenScripts variable will be set to /opt/MWFM_Automation/trapgen_scripts/10.1.1.1.
C. The trapgenScripts variable will not be set.
D. The simulation_IP variable will be set to 10.1.1.1.
Answer:B
The following is the beginning of a shell script. Which statement is true if the user issues “./send_traps.sh 10.1.1.1” at the CLI without the quotes?
A. The script will fail because only one variable is specified by the user at the CLI. B. The trapgenScripts variable will be set to /opt/MWFM_Automation/trapgen_scripts/10.1.1.1. C. The trapgenScripts variable will not be set. D. The simulation_IP variable will be set to 10.1.1.1.