The $VAR variable was not exported.
The $VAR should have been set as VAR.
dog needs double quotes around it when setting $VAR.
The { } should not be around VAR in the echo command.
第1题:
A. cd /var/spool
B. lcd /var/spool
C. cd /usr/bin /var/spool
D. lcd /usr/bin /var/spool
第2题:
An administrator needs to document system changes that have occurred recently. The company has a policy of making all possible changes via the smit interface. Which file would show the commands that have been performed from within smit and their resulting output?()
第3题:
Given the following script, why does the output come out as an empty line instead of "dog"()#!/bin/ksh $VAR=dog echo "${VAR}"
第4题:
An Operator is in /var/tmp and needs to go to /var/adm. Which of the following is correct?()
第5题:
To which directory does the Junos OS write traceoptions files?()
第6题:
Which of the following will permit an operator to retrieve console log output from the command line?()
第7题:
The $VAR variable was not exported
The $VAR should have been set as VAR
dog needs double quotes around it when setting $VAR
The { } should not be around VAR in the echo command
第8题:
annualreval.sh 2>&1 /var/log/reval.log 2> /var/log/reval.err
annualreval.sh 1>/var/log/reval.log 2>/var/log/reval.err
annualreval.sh 2>>&1 /var/log/reval.log /var/log/reval.err
annualreval.sh 1>>/var/log/reval.log 2>/var/log/reval.err
第9题:
cd /var/spool
lcd /var/spool
cd /usr/bin /var/spool
lcd /usr/bin /var/spool
第10题:
cd /adm
cd ./adm
cd ../adm
cd /../adm
第11题:
/var/messages
/var/syslog
/var/tmp
/var/log
第12题:
lscons -l
cat /var/conslog
alog -t console -o
lslog /var/adm/conslog
第13题:
An operator needs to change from the /usr/bin to the /var/spool directory. Which of the following commands will accomplish this?()
第14题:
Given: 1. public class Method Over { 2. public void set Var (int a, int b, float c) { 3. } 4. } Which two overload the set Var method()?
第15题:
What is the most likely problem with this script () VAR=1 ((VAR=$VAR+1)) while [ $VAR -It 10 ] do echo $VAR done
第16题:
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}."
第17题:
Which directory does the Junos OS use to store syslog information by default?()
第18题:
A System p administrator needs to run the annualreval.sh script, directing standard error to /var/log/reval.err, and appending standard out to /var/log/reval.log. How can this be accomplished ()
第19题:
The $VAR variable was not exported.
The $VAR should have been set as VAR.
dog needs double quotes around it when setting $VAR.
The { } should not be around VAR in the echo command.
第20题:
The sky is red.
The sky is blue.
The sky is green.
The sky is yellow.
第21题:
/smit.log
/smit.script
/var/log/smit.log
/var/log/smit.script
第22题:
Dogs are domestic animals
The dog is one of nature’s survivors
Breeders register dogs to obtain a pedigree
Humans have been the primary agents in dog evolution
第23题:
#!/bin/ksh line is missing
Variable name VAR is not properly initialized
Loop variable is not incremented inside the loop
Replace brackets with braces
第24题:
/var/tmp/
/var/
/var/log/
/var/home/<username>/