单选题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?()AAll three files will contain the updates and will remain available.BAll three files will be deleted and no changes will be made to /tmp/file2.COnly /tmp/file2 will contain the updates, but /tmp/file3 will remain available.DBoth /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.


参考解析

解析: 暂无解析

相关考题:

关于临时文件不正确的是()A.可通过tmp nam()创建B.也可通过tmp file()创建C.程序结束时或关闭文件时自动删除D.调用tmp name次数有限制

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

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.

用以下的哪个命令可以把server的/tmp mount 到 client的/mnt/tmp 并且是( )A.mount -o ro server:/tmp /mnt/tmpB.mount -o ro /mnt/tmp server:/tmpC .mount -o ro client:/mnt/tmp server:/tmpD.mount -o ro server:/tmp client:/mnt/tmp

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

命令cat file1 file2 file3把file1和file2组合成file3。

linux系统中,在/tmp存在一文件file,想更新文件的时间目录为当前的时间的命令是()。A、mkdir /tmp/fileB、touch /tmp/fileC、mv /tmp/fileD、rm /tmp/file

在linux系统中,在/tmp下创建一个空文件file的命令是()。A、mkdir /tmp/fileB、make /tmp/fileC、touch /tmp/fileD、mv /tmp/file

在linux系统中,用cp命令将/tmp/test/file文件,复制到/tmp下,并保持原来的名字,以下命令中正确的是()。A、cp -l /tmp/test/file /tmpB、cp -s /tmp/test/file /tmpC、cp -r /tmp/test/file /tmpD、cp /tmp/test/file /tmpE、cp /tmp/test/file /tmp/file

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

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.

Which of the following entries should be added to the syslog.conf file to capture information to troubleshoot a problem reported with e-mail? ()A、 smpt.info /tmp/syslog.msgs B、 mail.debug /tmp/syslog.msgs C、 daemon.err /tmp/syslog.msgsD、 mail.err /tmp/syslog.msgs

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.

下面哪个语句可以用来测试/tmp目录()。A、((-d/tmp))B、[-d/tmp]C、test-d/tmpD、{-d/tmp}

Which command will run myscript and redirect stdout and sterr to /tmp/myoutput?()A、./myscript  /tmp/myoutputB、./myscript 21 /tmp/myoutputC、./myscript  /tmp/myoutput 21D、./myscript  /tmp/myoutput 12

在Unix系统中如何将tmp目录改名为当前目录中的temp目录()。A、ln tmp tempB、m tmp tempC、mv tmp tempD、cn tmp temp

多选题下面哪个语句可以用来测试/tmp目录()。A((-d/tmp))B[-d/tmp]Ctest-d/tmpD{-d/tmp}

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

多选题在linux系统中,删除/tmp/test目录及其子目录,并且不用确认,以下正确的命令是()。Arm -rf /tmp/testBrmdir /tmp/testCrm -r /tmp/testDrm -r -f /tmp/testErm -f /tmp/test

单选题如何删除一个非空子目录/tmp()。Adel/tmp/*Brm-rf/tmpCrm-Ra/tmp/*Drm–rf/tmp/*

单选题How can permissions be set up on /tmp so that a user cannot delete another user’s files?()Achmod +s /tmpBchmod 775 /tmpCchmod 1777 /tmpDchmod 4755 /tmp

多选题在linux系统中,当前路径为/tmp/test,将/tmp/test/oldfile更改为/tmp/test/newfile,以下命令正确的是()。Amv /tmp/test/oldfile newfileBmv /tmp/test/oldfile /tmp/test/newfileCmv oldfile newfileDmv oldfile /tmp/test/newfileEmv oldfile /tmp/test/

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

单选题linux系统,把当前日期标准输出和标准出错信息重定向到/tmp/date文件中,下面正确的操作是()。Adate/tmp/dateBdate/tmp/dateCdate2/tmp/dateDdate/tmp/date

单选题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()Achmod +s /tmpBchmod 755 /tmpCchmod 1777 /tmpDchmod 4755 /tmp

单选题Which command will run myscript and redirect stdout and sterr to /tmp/myoutput?()A./myscript  /tmp/myoutputB./myscript 21 /tmp/myoutputC./myscript  /tmp/myoutput 21D./myscript  /tmp/myoutput 12

单选题Which of the following entries should be added to the syslog.conf file to capture information to troubleshoot a problem reported with e-mail? ()A smpt.info /tmp/syslog.msgs B mail.debug /tmp/syslog.msgs C daemon.err /tmp/syslog.msgsD mail.err /tmp/syslog.msgs

判断题命令cat file1 file2 file3把file1和file2组合成file3。A对B错