更多“单选题What is the correct command to display the current working directory?()A echo $PWDB echo $pwdC echo $CWDD echo $cwd”相关问题
  • 第1题:

    在UNIX系统中,Shell程序______实现显示用户主目录以及当前命令的进程标识符。

    A.echo UserHome directorY:$LOGNAME

    echo Carrent shell'Ss PID:$$

    B.echo UserHome directory:$HOME

    echo Carrent shell'PID:$@

    C.echo UserHome directory:$LOGNAME

    echo Carrent shell's PID:$@

    D.echo UserHome directory:$HOME

    echo Carrent shell's PID:$$

    A.

    B.

    C.

    D.


    正确答案:D

  • 第2题:

    What command will allow the operator to add the current working directory to the command search path?()

    A. export PATH=pwd

    B. export PATH=$PWD

    C. export PATH=$PATH:pwd

    D. export PATH=$PATH:$PWD


    参考答案:C

  • 第3题:

    在linux系统中,在执行()命令后,用户tang不能执行at命令。

    • A、echo work>/etc/at.allow
    • B、echo work>/etc/at.deny
    • C、echo>/etc/at.allow
    • D、echo>/etc/at.deny
    • E、touch /etc/at.allow

    正确答案:B,C

  • 第4题:

    linux系统中,以下显示结果不同的是()。

    • A、echo The current working path is $PWD.
    • B、echo 'The current working path is $PWD.'
    • C、echo "The current working path is $PWD."
    • D、echo "The current working path is `pwd`."

    正确答案:B

  • 第5题:

    回声探测仪()

    • A、echo sounder
    • B、instrument
    • C、echo sounding
    • D、sound signal

    正确答案:A

  • 第6题:

    Linux下哪个命令显示所有的环境变量()。

    • A、env
    • B、echo $HOME
    • C、echo $PS2
    • D、echo $PS1

    正确答案:A

  • 第7题:

    What command will allow the operator to add the current working directory to the command search path?()

    • A、export PATH=pwd
    • B、export PATH=$PWD
    • C、export PATH=$PATH:pwd
    • D、export PATH=$PATH:$PWD

    正确答案:C

  • 第8题:

    下面对于echo,print的描述正确的是()。

    • A、echo,print都可以打印多个参数
    • B、print可以打印多个参数,echo不可以
    • C、echo可以打印多个参数,print不可以
    • D、echo,print都不可以打印多个参数

    正确答案:B

  • 第9题:

    What is the correct command to display the current working directory?()

    • A、echo $PWD
    • B、echo $pwd
    • C、echo $CWD
    • D、echo $cwd

    正确答案:A

  • 第10题:

    多选题
    linux系统中,以下显示结果相同的是()。
    A

    echo The current working path is $PWD.

    B

    echo The current working path is $PWD. Echo hello

    C

    echo 'The current working path is $PWD.' Echo hello

    D

    echo The current working path is `pwd`.

    E

    echo The current working path is $PWD. Echo hello


    正确答案: C,D
    解析: 暂无解析

  • 第11题:

    单选题
    PING使用了()的Echo请求与Echo回答报文。
    A

    ICMP

    B

    ARP

    C

    SNMP

    D

    IP


    正确答案: A
    解析: 暂无解析

  • 第12题:

    单选题
    常用来进行网络连通性检查的Ping命令工具,它的工作原理为()。
    A

    向目标主机发送UDP Echo Request数据包,等待对方回应UDP Echo Reply数据包

    B

    向目标主机发送ICMP Echo Request数据包,等待对方回应ICMP Echo Reply数据包

    C

    向目标主机发送UDP Echo Reply数据包,等待对方回应ICMP Echo Request数据包

    D

    向目标主机发送ICMP Echo Reply数据包,等待对方回应ICMP Echo Request数据包


    正确答案: C
    解析: 暂无解析

  • 第13题:

    在Unix系统中,Shell程序(57)实现显示用户主目录以及当前命令的进程标识符。

    A.echo UserHome directory:$LOGNAME echo Current shell's PID:$$

    B.echo UserHome directory:$HOME echo Current shell's PID:$@

    C.echo UserHome directory:$LOGNAME echo Current shell's PID:$@

    D.echo UserHome directory:$HOME echo Current shell's PlD:$$


    正确答案:D
    解析:Unix系统有很多种产品,每种产品的命令略有不同,但基本一致。Shell环境定义了Unix与用户进行交互的方式。环境特性由包含名称和值的环境变量定义。以下是一些常见的缺省设置的环境变量。(1)HOME定义用户的主目录;CD命令的缺省目录。(2)LOGNAME包含用户名。(3)MAIL确定系统查找邮件的位置。(4)PATH设置系统用于查找并执行命令的目录。(5)SHELL决定运行的shell。(6)TERM指定准备输出的终端类型。(7)TZ提供当前时区及其与格林威治标准时间的差值。(8)EDITOR确定缺省的编辑器。(9)DISPLAY指定窗口显示主机。在Shell命令中,echo命令可以显示Shell变量的内容或值。在Shell中有一些特殊意义的变量,由Shell自己管理,这些特殊变量有:(1)$#内存位置参数的个数。(2)$$当前命令的进程标识符。(3)$1最后一个后台进程的标识符。(4)$*所有位置参数字符串。(5)$@与$*相似(但与$*的值略有区别)。

  • 第14题:

    在UNIX系统中,Shell程序(19)实现显示用户主目录以及当前命令的进程标识符。

    A.cho UserHome directory:$LOGNAME echo Carrent shell's PID:$$

    B.echo UserHome directory:$HOME echo Carrent shell's PID:$@

    C.echo UserHome directory:$ LOGNAME echo Carrent shell's PID:S@

    D.echo UserHome directory:$HOME echo Carrent shell's PID:$$


    正确答案:D
    解析:本题考查的是UNIX系统中Shell变量方面的知识。在UNIX系统中,Shell变量可分为三种类型:用户定义变量、系统定义变量和Shell定义变量。用户定义变量必须以字母或下划线开始,可以包含字母、下划线和数字的字符序列。用户定义的Shell变量能用赋值语句置初值或重置值。例如:ux=UNIX。系统定义变量$LOGNNAME的含义是用户的注册名;系统定义变量$HOME的含义是用户主目录名。Shell定义变量$$表示当前命令的进程标识数;shell定义变量$@表示所有位置参量,即相当于$1,$2,$3,…,其含义与$*基本相同,但当用双引号转义时,“$@”还是能分解成多个参数,但“$*”则合并成一个参数。Shell命令echo将它的实参写到标准输出上;echo可用于在命令文件中产生诊断信息,向管道发送已知数据以及显示环境变量的内容。例如,命令echo This is my book的含义是在屏幕上显示This is my book。综上分析,实现显示用户主目录以及当前命令的进程标识符的正确答案为D。

  • 第15题:

    linux系统中,以下显示结果相同的是()。

    • A、echo The current working path is $PWD.
    • B、echo "The current working path is $PWD." Echo hello
    • C、echo 'The current working path is $PWD.' Echo hello
    • D、echo "The current working path is `pwd`."
    • E、echo The current working path is $PWD. Echo hello

    正确答案:A,B,D,E

  • 第16题:

    在Premiere Pro中,对片断施加Echo特效,那么:()

    • A、Echo特效前面所有的特效均做无效处理
    • B、Echo特效后面的特效均做无效处理
    • C、Echo特效不会影响片断上施加的其他特效
    • D、除Echo特效以外的特效都无效

    正确答案:A

  • 第17题:

    下列哪个命令可以查看命令或脚本执行后的返回状态?()

    • A、echo$*
    • B、echo$#
    • C、echo$?
    • D、echo$!

    正确答案:C

  • 第18题:

    The command echo $! will produce what output?()

    • A、 the process id of last background command
    • B、 the exit status of the last command
    • C、 the exit status of the last background command
    • D、 the process id of the current shell
    • E、 the name of the command being executed

    正确答案:A

  • 第19题:

    What happens when you issue the ping 172.19.102.2 count 5 command?()

    • A、ICMP echo requests are sent to 172.19.102.2 in five-millisecond intervals.
    • B、ICMP echo requests are sent to 172.19.102.2 until five packets are dropped.
    • C、ICMP echo requests are sent to 172.19.102.2 five times.
    • D、ICMP echo requests are sent continuously to 172.19.102.2 for five seconds.

    正确答案:C

  • 第20题:

    Adobepremiereprocs3中,声音特效主要有()

    • A、Echo、Delay、Mixture
    • B、Fade、Delay、Mixture
    • C、Echo、Fade、Delay
    • D、Echo、Delay

    正确答案:A

  • 第21题:

    单选题
    What command verifies connectivity between two hosts by sending and receiving ICMP echo messages?()
    A

    ping

    B

    tracert

    C

    netstat

    D

    show cdp neighbors detail

    E

    show ip route

    F

    traceroute


    正确答案: B
    解析: 暂无解析

  • 第22题:

    单选题
    What happens when you issue the ping 172.19.102.2 count 5 command?()
    A

    ICMP echo requests are sent to 172.19.102.2 in five-millisecond intervals.

    B

    ICMP echo requests are sent to 172.19.102.2 until five packets are dropped.

    C

    ICMP echo requests are sent to 172.19.102.2 five times.

    D

    ICMP echo requests are sent continuously to 172.19.102.2 for five seconds.


    正确答案: A
    解析: 暂无解析

  • 第23题:

    单选题
    The command echo $! will produce what output?()
    A

     the process id of last background command

    B

     the exit status of the last command

    C

     the exit status of the last background command

    D

     the process id of the current shell

    E

     the name of the command being executed


    正确答案: D
    解析: 暂无解析