一起答
单选

下列Shell程序的功能是如果该程序执行时的参数个数为1则将由第一个参数指定的文件复制到/home/user1中,否则用vi打开这个文件。请将这个程序补全。

if [(23)=1)

then

 cp(24)$ HOME/user1

 fi

 vi(24)

 exit 0

  • A.$$
  • B.$#
  • C.$*
  • D.$@
参考答案
查看试卷详情
相关试题
  1. (88)

    • A.synonymously
    • B.equivalently
    • C.substitutionally
    • D.homomorphously
  2. (86)

    • A.experience
    • B.know-how
    • C.expertise
    • D.skillfulness
  3. (87)

    • A.renew
    • B.improve
    • C.upgrade
    • D.amend
  4. (85)

    • A.supervisory
    • B.manipulating
    • C.management
    • D.processing
  5. (83)

    • A.calculation
    • B.in account
    • C.audit
    • D.attention
  6. Artificial intelligence (AI) ,an interdisciplinary field, is usually regarded as a branch of computer science, dealing with models and systems for the performance of functions generally associated with human intelligence, such as(71)and learning.In AI, knowledge-based system is an information(72)system that provides for solving problems in a particular domain or application area by drawing inferences from a knowledge base. Moreover, some knowledge-based systems have learning capabilities. Expert system (ES) indicates the knowledge-based system that provides for solving problems in a particular domain or application area by drawing inferences from a knowledge base developed from human(73). Some expert systems are able to(74)their knowledge base and develop new inference rules based on their experience with previous problems. The term "expert system" is sometimes used(75)with "knowledge-based system", but should be taken to emphasize expert knowledge.

    • A.inferring
    • B.reasoning
    • C.deriving
    • D.proving
  7. (81)

    • A.automaton
    • B.robot
    • C.manipulator
    • D.man-machine system
  8. (82)

    • A.counterexample
    • B.specification
    • C.particular
    • D.special case
  9. (78)

    • A.PRIMARY KEY
    • B.FOREION KEY
    • C.FOREIGN KEY (ORDERID) REFERENCES ORDERS
    • D.FOREIGN KEY (BID) REFERENCES BOOKS
  10. (80)

    • A.idea
    • B.observation
    • C.point of view
    • D.viewport