单项选择题
What is the most likely problem with this script ()
VAR=1
((VAR=$VAR+1))
while [ $VAR -It 10 ]
do
echo $VAR
done
A.#!/bin/ksh line is missing
B.Variable name VAR is not properly initialized
C.Loop variable is not incremented inside the loop
D.Replace brackets with braces
点击查看答案
相关考题
-
单项选择题
Whichofthefollowingcommandswillncreasethecontiguousfreespaceofafilesystemwithouthavingtoaddadditionalpartitions()
A.chfs
B.fsck
C.chlv
D.defragfs -
单项选择题
Given the following scripts, what output would be generated() usr/local/bin/scriptl #!/usr/bin/ksh VARl=red export VARl=green VARl=blue /usr/local/bin/script2 ARl=yellow /usr/local/bin/script2 #!/bin/ksh echo "The sky is ${VAR1}."
A.The sky is red.
B.The sky is blue.
C.The sky is green.
D.The sky is yellow. -
单项选择题
A user is complaining that they ran out of paging space. Which of the following will address this and provide best performance()
A.Expand the default paging space to the largest possible size
B.Create a new larger paging space
C.Create additional paging spaces of equal size on different disks
D.Reboot system
