多做题,通过考试没问题!

IBM认证考试

睦霖题库>其他计算机考试>IBM认证考试

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.
正确答案:B
答案解析:
进入题库查看解析

微信扫一扫手机做题