试题详情
单项选择题 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
  • 关注下方微信公众号,在线模考后查看

热门试题