TMP方式指()。
Whichcommandwillrunmyscriptandredirectstdoutandsterrto/tmp/myoutput?()A../myscript>>/tmp/myoutputB../myscript2>&1/tmp/myoutputC../myscript>/tmp/myoutput2>&1D../myscript>/tmp/myoutput&1>2
点击查看答案
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.
Whichofthefollowingentriesshouldbeaddedtothesyslog.conffiletocaptureinformationtotroubleshootaproblemreportedwithe-mail?()A.smpt.info/tmp/syslog.msgsB.mail.debug/tmp/syslog.msgsC.daemon.err/tmp/syslog.msgsD.mail.err/tmp/syslog.msgs
用以下的哪个命令可以把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 2>1 /tmp/log/script/errD. myscript.ksh 2>1 /tmp/log/script.log 2> /tmp/log/script.err
在linux系统中,递归地压缩/tmp/test6/目录下的所有文件,正确的命令是()。A、gzip -v /tmp/test6B、gzip /tmp/test6C、gzip -r /tmp/test6D、tar -czvfr /tmp/test6
linux系统中,在/tmp存在一文件file,想更新文件的时间目录为当前的时间的命令是()。A、mkdir /tmp/fileB、touch /tmp/fileC、mv /tmp/fileD、rm /tmp/file