单项选择题
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
点击查看答案
相关考题
-
单项选择题
Review the following program. What is the possible problem?()
A.#!/bin/ksh line is missing
B.Variable name VAR is not properly initialized
C.Loop variable is not incremented inside the loop
D.Loop variable is not decremented inside the loop -
单项选择题
Asystemadministratorhasaserverthatisperformingpoorly.ThevmstatcommandidentifiesthathighCPUusageistheproblem.Whichofthefollowingcommandscanbeusedtoidentifytheeightmostactiveprocessesrunningontheserver?()
A.ps -ef -t8
B.sar -u -p 8
C.vmstat -t 8
D.topas -p8 -n0 -d0 -
单项选择题
Asystemadministratorisunabletounmountafilesystem.Whichistheappropriatecommandtodeterminewhoorwhatisaccessingthefilesystem?()
A.who /filesystem
B.lsfs /filesystem
C.fuser /filesystem
D.umount -f /filesystem
