网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
Whichcommandwillrunmyscriptandredirectstdoutandsterrto/tmp/myoutput?()

A../myscript>>/tmp/myoutput

B../myscript2>&1/tmp/myoutput

C../myscript>/tmp/myoutput2>&1

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


参考答案

更多 “ 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.

考题 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

考题 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/*

考题 16、如何删除一个非空子目录/tmp?()A.del /tmp/B.rm -af /tmpC.rmdir -Ra /tmp/D.rm -rf /tmp/*