Go back to 640-760 - Supporting Cisco Service Provider IP NGN Operations

Question :-

Which two statements about the UNIX script are true? (Choose two.) #!/bin/sh tc=1 while [ $tc -le 10 ] do #/opt/trapSender -e 1.3.6.1.6.3.1.1.5.1 -s 1 -g 1 -i 10.1.1.1 -D 10.1.1.5 -n 10 tc=`expr $tc + 1` echo "tc:$tc\n"; sleep 1 done
This is a Perl script.
The command /opt/trapSender will execute 10 times.
Within the while loop, the script will pause and wait for one second.
Within the while loop, the script will pause and wait for one minute.
The last number to be printed to the screen when running this script is 11.

Want to practice for 640-760 - Supporting Cisco Service Provider IP NGN Operations ? Click here.