网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
单选题
Given the following script, why does the output come out as an empty line instead of "dog"?()
A
The $VAR variable was not exported
B
The $VAR should have been set as VAR
C
dog needs double quotes around it when setting $VAR
D
The { } should not be around VAR in the echo command
参考答案
参考解析
解析:
暂无解析
更多 “单选题Given the following script, why does the output come out as an empty line instead of "dog"?()A The $VAR variable was not exportedB The $VAR should have been set as VARC dog needs double quotes around it when setting $VARD The { } should not be around VAR in the echo command” 相关考题
考题
Which of the following will permit an operator to retrieve console log output from the command line?()
A. lscons -lB. cat /var/conslogC. alog -t console -oD. lslog /var/adm/conslog
考题
Given the following output what course of action should be undertaken for a long term solution()A、Implement regular monitoring to avoid full filesystemsB、Double the size of /usrC、Reduce the size of /home to balance the filesystemsD、Add another disk allow for growth.
考题
A System p 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 of the following files would show the commands that have been performed from within smit and their resulting output()A、/smit.logB、/smit.scriptC、/var/log/smit.logD、/.history
考题
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?()A、/smit.logB、/smit.scriptC、/var/log/smit.logD、/var/log/smit.script
考题
An administrator setting up software RAID 1 on a Windows Server with two volumes for twoseparate hard drives, but the option for mirrored is grayed out. Which of the following is the MOST likely reason why this is occurring?()A、The disks have been setup as basic.B、The page file must be at least 4GB to support mirrored drives.C、The disks have been setup as dynamic.D、Windows does not support software RAID 1.
考题
Which of the following commands should be used to obtain a detailed output of the system error log?()A、 errpt -d B、 errpt -a C、 errpt -D D、 errpt -i /var/adm/ras/diag_log
考题
Given the following script, why does the output come out as an empty line instead of "dog"()#!/bin/ksh $VAR=dog echo "${VAR}"A、The $VAR variable was not exported.B、The $VAR should have been set as VAR.C、dog needs double quotes around it when setting $VAR.D、The { } should not be around VAR in the echo command.
考题
What is the most likely problem with this script () VAR=1 ((VAR=$VAR+1)) while [ $VAR -It 10 ] do echo $VAR doneA、#!/bin/ksh line is missingB、Variable name VAR is not properly initializedC、Loop variable is not incremented inside the loopD、Replace brackets with braces
考题
Which of the following will permit an operator to retrieve console log output from the command line?()A、lscons -lB、cat /var/conslogC、alog -t console -oD、lslog /var/adm/conslog
考题
单选题Given the following script, why does the output come out as an empty line instead of "dog"?()A
The $VAR variable was not exportedB
The $VAR should have been set as VARC
dog needs double quotes around it when setting $VARD
The { } should not be around VAR in the echo command
考题
单选题Given the following script, why does the output come out as an empty line instead of "dog"()#!/bin/ksh $VAR=dog echo "${VAR}"A
The $VAR variable was not exported.B
The $VAR should have been set as VAR.C
dog needs double quotes around it when setting $VAR.D
The { } should not be around VAR in the echo command.
考题
单选题A system administrator needs to specify a set of FQDN to IP address mappings for a legacyserver; the administrator does not want the legacy server to be referenced by other servers. Which of the following should the administrator use to set this?()A
DHCP serverB
DNS serverC
Host fileD
Route statements
考题
单选题An administrator does not have console access to a Windows Server. Which of the following command line utilities should the administrator use to reboot the system remotely?()A
rebootB
pkillC
shutdownD
kill
考题
问答题Ellen turned around quick and noticed that the dog that had been following her was now gone. No error A B C D E
考题
单选题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?()A
/smit.logB
/smit.scriptC
/var/log/smit.logD
/var/log/smit.script
考题
单选题Which of the following commands should be used to obtain a detailed output of the system error log?()A
errpt -d B
errpt -a C
errpt -D D
errpt -i /var/adm/ras/diag_log
考题
单选题The author cites the dog as an example of artificial selection because of all the following statements EXCEPT that ______.A
Dogs are domestic animalsB
The dog is one of nature’s survivorsC
Breeders register dogs to obtain a pedigreeD
Humans have been the primary agents in dog evolution
考题
单选题What is the most likely problem with this script () VAR=1 ((VAR=$VAR+1)) while [ $VAR -It 10 ] do echo $VAR doneA
#!/bin/ksh line is missingB
Variable name VAR is not properly initializedC
Loop variable is not incremented inside the loopD
Replace brackets with braces
考题
单选题Which of the following precautions should always be carried out in dry dock?()A
Liquids should never be transferred between tanks without consulting the dock masterB
If sea valves have been disassembled, all bonnets must be checked for leakage when the ship is re-floatedC
Before re-floating, all sea chest strainers should be verified as having been replacedD
All of the above
考题
单选题A System p 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 of the following files would show the commands that have been performed from within smit and their resulting output()A
/smit.logB
/smit.scriptC
/var/log/smit.logD
/.history
考题
单选题Which of the following will permit an operator to retrieve console log output from the command line?()A
lscons -lB
cat /var/conslogC
alog -t console -oD
lslog /var/adm/conslog
热门标签
最新试卷