一起答
单选

在UNIX操作系统中,以下Shell程序实现当用户键入的命令参数的个数为1时,执行cat$1命令;若用户键入的命令参数的个数为2时,执行cat>>$2<$1命令。  case(36)in    1)cat $1;;    2)cat>>$2<$1;;    *)echo ‘default...’  esac

  • A.$!
  • B.$*
  • C.$#
  • D.$@
试题出自试卷《软件水平考试(中级)网络工程师上午(基础知识)试题模拟试卷19》
参考答案
查看试卷详情
相关试题
  1. (143)

    • A.a primary station
    • B.one or more primary stations
    • C.a secondary station
    • D.one or more secondary stations
  2. (144)

    • A.halfduplex
    • B.full duplex
    • C.half or full duplex
    • D.half and full duplex
  3. (142)

    • A.a primary station
    • B.one or more primary stations
    • C.a secondary station
    • D.one or more secondary stations
  4. SDLC was invented by IBM to replace the older Bisynchronous protocol for wide area connections between IBM equipment. A varietion of the(71)protocol called NRM is essentially the same as SDLC.

     SDLC is(72)protocol like HDLC, Frame. Relay or X.25.An SDLC network is made up of(73)that controls all communications, and(74).It is capable of(75).operation, but almost all practical applications are strictly half duplex.

    • A.HDLC
    • B.Frame. Relay
    • C.X.25
    • D.X.21
  5. (141)

    • A.a peer to peer
    • B.a point-to-point
    • C.not a peer to peer
    • D.a peer to peers
  6. (139)

    • A.Permanent Circuits
    • B.Permanent Virtual Circuits
    • C.Switched Virtual Circuits
    • D.Switched Circuits
  7. (137)

    • A.DLCIs
    • B.HDLCs
    • C.SDLCs
    • D.DLs
  8. (138)

    • A.Permanent Circuits
    • B.Permanent Virtual Circuits
    • C.Switched Virtual Circuits
    • D.Switching Circuits
  9. (136)

    • A.X.21
    • B.X.25
    • C.X.28
    • D.X.29
  10. Frame. Relay is simplified form. of(66), similar in principle to(67), in which synchronous, frames of data are routed to different destinations depending on header information.

     Packets are routed throught one or more Virtual Circuits known as(68). Most Virtual Circuits are(69), which means that the network provider sets up all DLCI connections at subscription time.(70)are also part of the Frame. Relay specification. They privide a link that only lasts only as long as the session.

    • A.Datagram Switching
    • B.Datagram Routing
    • C.Packet Switching
    • D.packet Routing