niusouti.com

单选题Files /tmp/file2 and /tmp/file3 are hard linked to /tmp/file1. What will the result be if a user makes changes to /tmp/file2 at the same time another user tries to delete /tmp/file1?()A All three files will contain the updates and will remain available

题目
单选题
Files /tmp/file2 and /tmp/file3 are hard linked to /tmp/file1. What will the result be if a user makes changes to /tmp/file2 at the same time another user tries to delete /tmp/file1?()
A

All three files will contain the updates and will remain available.

B

All three files will be deleted and no changes will be made to /tmp/file2.

C

Only /tmp/file2 will contain the updates, but /tmp/file3 will remain available.

D

Both /tmp/file2 and /tmp/file3 will contain the updates and will remain available.


相似考题
更多“单选题Files /tmp/file2 and /tmp/file3 are hard linked to /tmp/file1. What will the result be if a user makes changes to /tmp/file2 at the same time another user tries to delete /tmp/file1?()A All three files will contain the updates and will remain available”相关问题
  • 第1题:

    在linux系统中,用cp命令将/tmp/test中的文件到/tmp/test1中,不想拷贝目录本身,以下命令正确的是()。

    • A、cp -R /tmp/test /tmp/test1
    • B、cp -r /tmp/test /tmp/test1
    • C、cp -R /tmp/test/. /tmp/test1
    • D、cp /tmp/test /tmp/test1

    正确答案:C

  • 第2题:

    How can permissions be set up on /tmp so that a user cannot delete another user’s files?()

    • A、chmod +s /tmp
    • B、chmod 775 /tmp
    • C、chmod 1777 /tmp
    • D、chmod 4755 /tmp

    正确答案:C

  • 第3题:

    An operator needs to run a script which will write standard output and standard error to different files. Which of the following commands will successfully perform this task?()

    • A、myscript.ksh 1>/tmp/log/script.log 2>/tmp/log/script.err
    • B、myscript.ksh $1>/tmp/log/script.log $2>/tmp/log/script.err
    • C、myscript.ksh 1>/tmp/log/script.log 2>1 /tmp/log/script/err
    • D、myscript.ksh 2>1 /tmp/log/script.log 2> /tmp/log/script.err

    正确答案:A

  • 第4题:

    Files /tmp/file2 and /tmp/file3 are hard linked to /tmp/file1. What will the result be if a user makes changes to /tmp/file2 at the same time another user tries to delete /tmp/file1?()

    • A、All three files will contain the updates and will remain available.
    • B、All three files will be deleted and no changes will be made to /tmp/file2.
    • C、Only /tmp/file2 will contain the updates, but /tmp/file3 will remain available.
    • D、Both /tmp/file2 and /tmp/file3 will contain the updates and will remain available.

    正确答案:D

  • 第5题:

    An administrator migrates from AIX 5.3 to AIX 6.1. Upon completion, a client questions why files are missing from /tmp. How should the administrator respond to the client?()

    • A、Explain that the files never existed in the first place.
    • B、Explain that during a Migration install the /tmp filesystem is overwritten.
    • C、Explain that after a Migration install, all system filesystems will be empty.
    • D、Explain that /tmp is temporary storage and files are automatically removed every 30 days.

    正确答案:B

  • 第6题:

    Which command will run myscript and redirect stdout and sterr to /tmp/myoutput?()

    • A、./myscript >> /tmp/myoutput
    • B、./myscript 2>&1 /tmp/myoutput
    • C、./myscript > /tmp/myoutput 2>&1
    • D、./myscript > /tmp/myoutput &1>2

    正确答案:C

  • 第7题:

    单选题
    An administrator migrates from AIX 5.3 to AIX 6.1. Upon completion, a client questions why files are missing from /tmp. How should the administrator respond to the client?()
    A

    Explain that the files never existed in the first place.

    B

    Explain that during a Migration install the /tmp filesystem is overwritten.

    C

    Explain that after a Migration install, all system filesystems will be empty.

    D

    Explain that /tmp is temporary storage and files are automatically removed every 30 days.


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

  • 第8题:

    单选题
    在linux系统中,当前路径为/tmp/test,将/tmp/test/oldfile更改为/tmp/test/newfile,以下命令错误的是()。
    A

    mv /tmp/test/oldfile newfile

    B

    mv /tmp/test/oldfile /tmp/test/newfile

    C

    mv oldfile /tmp/test/

    D

    mv oldfile newfile


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

  • 第9题:

    单选题
    在linux系统中,用cp命令将/tmp/test中的文件到/tmp/test1中,不想拷贝目录本身,以下命令正确的是()。
    A

    cp -R /tmp/test /tmp/test1

    B

    cp -r /tmp/test /tmp/test1

    C

    cp -R /tmp/test/. /tmp/test1

    D

    cp /tmp/test /tmp/test1


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

  • 第10题:

    单选题
    Which command will run myscript and redirect stdout and sterr to /tmp/myoutput?()
    A

    ./myscript >> /tmp/myoutput

    B

    ./myscript 2>&1 /tmp/myoutput

    C

    ./myscript > /tmp/myoutput 2>&1

    D

    ./myscript > /tmp/myoutput &1>2


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

  • 第11题:

    单选题
    An operator needs to run a script which will write standard output and standard error to different files. Which of the following commands will successfully perform this task?()
    A

    myscript.ksh 1>/tmp/log/script.log 2>/tmp/log/script.err

    B

    myscript.ksh $1>/tmp/log/script.log $2>/tmp/log/script.err

    C

    myscript.ksh 1>/tmp/log/script.log 2>1 /tmp/log/script/err

    D

    myscript.ksh 2>1 /tmp/log/script.log 2> /tmp/log/script.err


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

  • 第12题:

    单选题
    How can permissions be set up on /tmp so that a user cannot delete another user’s files?()
    A

    chmod +s /tmp

    B

    chmod 775 /tmp

    C

    chmod 1777 /tmp

    D

    chmod 4755 /tmp


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

  • 第13题:

    How can permissions be set up on /tmp so that one user in a group cannot delete another user’s files in that same group()

    • A、chmod +s /tmp
    • B、chmod 755 /tmp
    • C、chmod 1777 /tmp
    • D、chmod 4755 /tmp

    正确答案:C

  • 第14题:

    A user reports that they cannot cd to /tmp/application. A system administrator entered the following    command: Is -Id /tmp/application   drw-r-r- 4 root system 512 Jan 15 14:09 application Which of the following is the most likely cause of the  problem()

    • A、The /tmp/application should be globally writable.
    • B、The /tmp/application directory should be executable.
    • C、The /tmp/application directory should be owned by the user.
    • D、The /tmp/application directory should have the sticky bit set

    正确答案:B

  • 第15题:

    A user reports that they cannot cd to /tmp/application. A system administrator entered the following command:   (1)ls -ld /tmp/application   (2)drw-r--r-- 4 root system 512 Jan 15 14:09 application   What is the most likely cause of the problem?()

    • A、The /tmp/application should be globally writable.
    • B、The /tmp/application directory should be executable.
    • C、The /tmp/application directory should be owned by the user.
    • D、The /tmp/application directory should have the sticky bit set.

    正确答案:B

  • 第16题:

    Files /tmp/file2 and /tmp/file3 are hard linked to /tmp/file1.  What will the result be if a user makes changes to /tmp/file2 at the same time another user tries to delete /tmp/file1?()

    • A、All three files will contain the updates and will remain available.
    • B、All three files will be deleted and no changes will be made to /tmp/file2.
    • C、Only /tmp/file2 will contain the updates, but /tmp/file3 will remain available.
    • D、Both /tmp/file2 and /tmp/file3 will contain the updates and will remain available.

    正确答案:D

  • 第17题:

    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

    正确答案:A

  • 第18题:

    单选题
    How can permissions be set up on /tmp so that one user in a group cannot delete another user’s files in that same group()
    A

    chmod +s /tmp

    B

    chmod 755 /tmp

    C

    chmod 1777 /tmp

    D

    chmod 4755 /tmp


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

  • 第19题:

    单选题
    Files /tmp/file2 and /tmp/file3 are hard linked to /tmp/file1.  What will the result be if a user makes changes to /tmp/file2 at the same time another user tries to delete /tmp/file1?()
    A

    All three files will contain the updates and will remain available.

    B

    All three files will be deleted and no changes will be made to /tmp/file2.

    C

    Only /tmp/file2 will contain the updates, but /tmp/file3 will remain available.

    D

    Both /tmp/file2 and /tmp/file3 will contain the updates and will remain available.


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

  • 第20题:

    单选题
    Files /tmp/file2 and /tmp/file3 are hard linked to /tmp/file1. What will the result be if a user makes changes to /tmp/file2 at the same time another user tries to delete /tmp/file1?()
    A

    All three files will contain the updates and will remain available.

    B

    All three files will be deleted and no changes will be made to /tmp/file2.

    C

    Only /tmp/file2 will contain the updates, but /tmp/file3 will remain available.

    D

    Both /tmp/file2 and /tmp/file3 will contain the updates and will remain available.


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

  • 第21题:

    单选题
    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


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

  • 第22题:

    单选题
    在linux系统中,在/tmp下创建一个空文件file的命令是()。
    A

    mkdir /tmp/file

    B

    make /tmp/file

    C

    touch /tmp/file

    D

    mv /tmp/file


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

  • 第23题:

    单选题
    A user reports that they cannot cd to /tmp/application. A system administrator entered the following    command: Is -Id /tmp/application   drw-r-r- 4 root system 512 Jan 15 14:09 application Which of the following is the most likely cause of the  problem()
    A

    The /tmp/application should be globally writable.

    B

    The /tmp/application directory should be executable.

    C

    The /tmp/application directory should be owned by the user.

    D

    The /tmp/application directory should have the sticky bit set


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

  • 第24题:

    单选题
    A user reports that they cannot cd to /tmp/application. A system administrator entered the following command:   (1)ls -ld /tmp/application   (2)drw-r--r-- 4 root system 512 Jan 15 14:09 application   What is the most likely cause of the problem?()
    A

    The /tmp/application should be globally writable.

    B

    The /tmp/application directory should be executable.

    C

    The /tmp/application directory should be owned by the user.

    D

    The /tmp/application directory should have the sticky bit set.


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