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.

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.


相关考题:

Using the command, user@router load override latest.conf, where in the file system will the latest.conf be located?() A. /var/home/user/B. /var/config/saved/C. /var/tmp/D. /config/

Whichcommandwillrunmyscriptandredirectstdoutandsterrto/tmp/myoutput?() A../myscript/tmp/myoutputB../myscript21/tmp/myoutputC../myscript/tmp/myoutput21D../myscript/tmp/myoutput12

Auserreportsthattheycannotcdto/tmp/application.Asystemadministratorenteredthefollowingcommand:(1)ls-ld/tmp/application(2)drw-r--r--4rootsystem512Jan1514:09applicationWhatisthemostlikelycauseoftheproblem?()A.The/tmp/applicationshouldbegloballywritable.B.The/tmp/applicationdirectoryshouldbeexecutable.C.The/tmp/applicationdirectoryshouldbeownedbytheuser.D.The/tmp/applicationdirectoryshouldhavethestickybitset.

Whichofthefollowingentriesshouldbeaddedtothesyslog.conffiletocaptureinformationtotroubleshootaproblemreportedwithe-mail?() A.smpt.info/tmp/syslog.msgsB.mail.debug/tmp/syslog.msgsC.daemon.err/tmp/syslog.msgsD.mail.err/tmp/syslog.msgs

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.errB. myscript.ksh $1/tmp/log/script.log $2/tmp/log/script.errC. myscript.ksh 1/tmp/log/script.log 21 /tmp/log/script/errD. myscript.ksh 21 /tmp/log/script.log 2 /tmp/log/script.err

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

如何删除一个非空子目录 /tmp?A.del /tmp/*B.rm -rf /tmpC.rm -Ra /tmp/*D.rm –rf /tmp/*

在/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;

如何删除目录 /tmp下的所有文件及子目录()。A.del /tmp/*B.rm -rf /tmpC.rm -Ra /tmp/*D.rm –rf /tmp/*