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.A

题目
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?() ”相关问题
  • 第1题:

    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

  • 第2题:

    如何删除一个非空子目录 /tmp?

    A.del /tmp/*

    B.rm -rf /tmp

    C.rm -Ra /tmp/*

    D.rm –rf /tmp/*


    rm -rf /tmp

  • 第3题:

    如何删除目录 /tmp下的所有文件及子目录()。

    A.del /tmp/*

    B.rm -rf /tmp

    C.rm -Ra /tmp/*

    D.rm –rf /tmp/*


    D

  • 第4题:

    CTMP与TMP相比,CTMP得率大于TMP,强度CTMP大于TMP。


    < > <

  • 第5题:

    在/tmp目录下创建子目录test, 在test目录下创建文件a.txt,把/tmp/test目录打包成/tmp/test.tar,用zip打包压缩成/tmp/test.tar.gz;创建目录/tmp/test1;/tmp/test2,解包/tmp/test.tar到/temp/test1; 解包/tmp/test.tar.gz到/tmp/test2;


    A