单选题Given that the current directory is empty, and that the user has read and write privileges to the current directory, and the following: Which statement is true?()ACompilation fails.BNothing is added to the file system.COnly a new file is created on th

题目
单选题
Given that the current directory is empty, and that the user has read and write privileges to the current directory, and the following: Which statement is true?()
A

Compilation fails.

B

Nothing is added to the file system.

C

Only a new file is created on the file system.

D

Only a new directory is created on the file system.

E

Both a new file and a new directory are created on the file system.


相似考题
更多“Given that the current directory is empty, and that the user”相关问题
  • 第1题:

    Which command will resolve the problem shown in the exhibit?()

    A. user@router> request system configuration rescue save

    B. user@router# request system configuration rescue save

    C. user@router> file copy current /config/rescue.conf

    D. user@router# file copy current /config/rescue.conf


    参考答案:A

  • 第2题:

    User2 is complaining that he is unable to list the contents of a directory. What is the most likely cause?()

    A. User2 needs write permission to the directory.

    B. User2 needs both read and write permissions to the directory.

    C. User2 needs both read and execute permissions to the directory.

    D. User2 needs both write and execute permissions to the directory.


    参考答案:C

  • 第3题:

    A user received an email from their bank asking them to login and verify their personal information.The user complies and fills in the requested information. Days later the user notices their checking account is empty. This is a result of which of the following?()

    • A、Spam
    • B、Phishing
    • C、Adware
    • D、A Trojan

    正确答案:B

  • 第4题:

    During an attempt to 'scp' between two hosts, an error indicating PRNG is not seeded is displayed. What is the likely cause of the error?()

    • A、The sshd user id is locked.
    • B、The /var/empty directory needs to be created.
    • C、PRNG is set to 'no' in the /etc/ssh/sshd_config file.
    • D、The permissions on /dev/random and /dev/urandom are incorrect.

    正确答案:D

  • 第5题:

    A user would like their shell prompt to reflect the current directory. Which of the following environment variables can be set to accomplish this?()

    • A、PS1
    • B、PATH
    • C、PROMPT
    • D、LOCPATH

    正确答案:A

  • 第6题:

    You have just issued the command user@router# save current.conf.Assuming the default settings, where in the file system is current.conf saved?()

    • A、/var/tmp/
    • B、/var/config/saved/
    • C、/var/home/user/
    • D、/config/

    正确答案:C

  • 第7题:

    You find pockets of empty space in the USER_DATA tablespace due to a lot of DML operations on the objects in the USER_DATAtablespace. The pockets of empty spaces are too small to be reused individually. This is leading to wastage of space. You decide to perform the shrink operation to reclaim the wasted space. Which advisor will you use to determine the objects in the USER_DATA tablespace that are good candidates for the shrink operation?()

    • A、 SQL Tuning Advisor
    • B、 SQL Access Advisor
    • C、 Undo Advisor
    • D、 Segment Advisor

    正确答案:D

  • 第8题:

    多选题
    Given: And MainClass exists in the /apps/com/company/application directory. Assume the CLASSPATH environment variable is set to "." (current directory). Which two java commands entered at the commandline will run MainClass?()
    A

    java MainClass if run from the /apps directory

    B

    java com.company.application.MainClass if run from the /apps directory

    C

    java -classpath /apps com.company.application.MainClass if run from any directory

    D

    java -classpath . MainClass if run from the /apps/com/company/application directory

    E

    java -classpath /apps/com/company/application:. MainClass if run from the /apps directory


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

  • 第9题:

    单选题
    Given the following directory structure: bigProject |--source ||--Utils.java| |--classes |-- And the following command line invocation: javac -d classes source/Utils.java Assume the current directory is bigProject,what is the result?()
    A

    If the compile is successful, Utils.class is added to the source directory.

    B

    The compiler returns an invalid flag error.

    C

    If the compile is successful, Utils.class is added to the classes directory.

    D

    If the compile is successful, Utils.class is added to the bigProject directory.


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

  • 第10题:

    单选题
    During an attempt to ’scp’ between two hosts, an error indicating PRNG is not seeded is displayed.What is the likely cause of the error?()
    A

    The sshd user id is locked.

    B

    The /var/empty directory needs to be created.

    C

    PRNG is set to ’no’ in the /etc/ssh/sshd_config file.

    D

    The permissions on /dev/random and /dev/urandom are incorrect.


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

  • 第11题:

    单选题
    Given a correctly compiled class whose source code is:  package com.sun.sjcp;  public class Commander {  public static void main(String[] args) {  // more code here  }  }  Assume that the class file is located in /foo/com/sun/sjcp/, the current directory is /foo/, and that the classpath contains “.“ (current directory). Which command line correctly runs Commander?()
    A

     java Commander

    B

     java com. sim. sjcp.Commander

    C

     java com/sun/sjcp/Commander

    D

     java -cp com.sun.sjcp Commander

    E

     java -cp com/sun/sjcp Commander


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

  • 第12题:

    多选题
    TestKing.com has a SQL Server 2005 computer. You have been assigned the task of retrieving information about a user who is currently logged in. You need to create a function that returns scalar information about the activity time for a particular user. What are two possible ways to achieve this goal?()
    A

    Create a function that returns a list of values that represent the login times for the given user.

    B

    Create a function that returns a list of values that represent the people who have logged more hours than the current user has logged.

    C

    Create a function that returns a numeric value that represents the number of hours that a user has logged for the current day.

    D

    Create a function that returns a numeric value that represents the number of hours that a user has logged for the current month.


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

  • 第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题:

    How do oyu write the current candidate configuration to the permanent storage media?()

    • A、[edit]   user@router# save /var/tmp/current.conf
    • B、[edit]   user@router# write /var/tmp/current.conf
    • C、[edit]   user@router# commit /var/tmp/current.conf
    • D、[edit]  user@router# dump /var/tmp/current.conf

    正确答案:A

  • 第15题:

    Which of the following commands is used to delete an empty directory?()

    • A、RD
    • B、EDIT
    • C、DIR
    • D、FORMAT

    正确答案:A

  • 第16题:

    User2 is complaining that he is unable to list the contents of a directory. What is the most likely cause?()

    • A、User2 needs write permission to the directory.
    • B、User2 needs both read and write permissions to the directory.
    • C、User2 needs both read and execute permissions to the directory.
    • D、User2 needs both write and execute permissions to the directory.

    正确答案:C

  • 第17题:

    Given a correctly compiled class whose source code is:  package com.sun.sjcp;  public class Commander {  public static void main(String[] args) {  // more code here  }  }  Assume that the class file is located in /foo/com/sun/sjcp/, the current directory is /foo/, and that the classpath contains “.“ (current directory). Which command line correctly runs Commander?() 

    • A、 java Commander
    • B、 java com. sim. sjcp.Commander
    • C、 java com/sun/sjcp/Commander
    • D、 java -cp com.sun.sjcp Commander
    • E、 java -cp com/sun/sjcp Commander

    正确答案:B

  • 第18题:

    Given the following directory structure: bigProject |--source ||--Utils.java| |--classes |-- And the following command line invocation: javac -d classes source/Utils.java Assume the current directory is bigProject,what is the result?()

    • A、If the compile is successful, Utils.class is added to the source directory.
    • B、The compiler returns an invalid flag error.
    • C、If the compile is successful, Utils.class is added to the classes directory.
    • D、If the compile is successful, Utils.class is added to the bigProject directory.

    正确答案:C

  • 第19题:

    You are the administrator of an Active Directory domain named A user reports that he forgot his password and cannot log on to the domain. You discover that yesterday morning the user reset his password and successfully logged on to the domain. You need to enable the user to log on to the domain. What should you do? ()(Choose two)

    • A、Use Active Directory Users and Computers to move the account to the default organizational unit (OU) named Users. Instruct the user to restart his computer.
    • B、Use Active Directory Users and Computers to open the account properties for the user's user account. Clear the Account is locked out check box, and select the User must change password at next logon check box.
    • C、Use Active Directory Users and Computers to reset the user's password. Give the user the new password.
    • D、Use Computer Management to reset the password for the local Administrator account.

    正确答案:B,C

  • 第20题:

    单选题
    You find pockets of empty space in the USER_DATA tablespace due to a lot of DML operations on the objects in the USER_DATAtablespace. The pockets of empty spaces are too small to be reused individually. This is leading to wastage of space. You decide to perform the shrink operation to reclaim the wasted space. Which advisor will you use to determine the objects in the USER_DATA tablespace that are good candidates for the shrink operation?()
    A

     SQL Tuning Advisor

    B

     SQL Access Advisor

    C

     Undo Advisor

    D

     Segment Advisor


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

  • 第21题:

    单选题
    A user received an email from their bank asking them to login and verify their personal information.The user complies and fills in the requested information. Days later the user notices their checking account is empty. This is a result of which of the following?()
    A

    Spam

    B

    Phishing

    C

    Adware

    D

    A Trojan


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

  • 第22题:

    单选题
    How do you write the current candidate configuration to the permanent storage media?()
    A

    [edit]   user@router# save /var/tmp/current.conf

    B

    [edit]   user@router# write /var/tmp/current.conf

    C

    [edit]   user@router# commit /var/tmp/current.conf

    D

    [edit]   user@router# dump /var/tmp/current.conf


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

  • 第23题:

    单选题
    You need to recommend a strategy for delegating administration to the consulting firm.What should you recommend?()
    A

    Create local user accounts.

    B

    Create domain user accounts.

    C

    Create IIS Manager user accounts.

    D

    Implement Active Directory Lightweight Directory Services (AD LDS).


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