PlAwAnSaI
Administrator
Which two statements about the UNIX script are true? (Choose two.)
Quote:
#!/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:$tcn";
sleep 1
done
A. This is a Perl script.
B. The command /opt/trapSender will execute 10 times.
C. The last number to be printed to the screen when running this script is 11.
D. Within the while loop, the script will pause and wait for one second.
E. within the while loop, the script will pause and wait for one minute.
Quote:
#!/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:$tcn";
sleep 1
done
A. This is a Perl script.
B. The command /opt/trapSender will execute 10 times.
C. The last number to be printed to the screen when running this script is 11.
D. Within the while loop, the script will pause and wait for one second.
E. within the while loop, the script will pause and wait for one minute.