A.The$VARvariablewasnotexported.
B.The$VARshouldhavebeensetasVAR.
C.dogneedsdoublequotesarounditwhensetting$VAR.
D.The{}shouldnotbearoundVARintheechocommand.
第1题:
A./opt/freeware/bin
B./usr/bin/freeware
C./var/freeware/bin
D./usr/sbin/freeware
第2题:
A.#!/bin/kshlineismissing
B.VariablenameVARisnotproperlyinitialized
C.Loopvariableisnotincrementedinsidetheloop
D.Replacebracketswithbraces
第3题:
A. cd /var/spool
B. lcd /var/spool
C. cd /usr/bin /var/spool
D. lcd /usr/bin /var/spool
第4题:
A./var/log/syslog.out
B.var/log/cron.log
C./var/spool/cron/logs
D.mail
第5题:
Giventhefollowingscripts,whatoutputwouldbegenerated()usr/local/bin/scriptl!/usr/bin/kshVARl=redexportVARl=greenVARl=blue/usr/local/bin/script2ARl=yellow/usr/local/bin/script2!/bin/kshecho"Theskyis${VAR1}."
A.Theskyisred.
B.Theskyisblue.
C.Theskyisgreen.
D.Theskyisyellow.