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

题目内容 (请给出正确答案)
单选题
Which command will run myscript and redirect stdout and sterr to /tmp/myoutput?()
A

./myscript >> /tmp/myoutput

B

./myscript 2>&1 /tmp/myoutput

C

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

D

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


参考答案

参考解析
解析: 暂无解析
更多 “单选题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” 相关考题
考题 Asystemadministratorwantstorunascriptcalledmyscript,butdoesnotwanttoseetheerrorsthatmightbegeneratedbythescript.Howwouldthisbeaccomplished?() A./usr/local/bin/myscript/dev/nullB./usr/local/bin/myscript/dev/nullC./usr/local/bin/myscript2/dev/nullD./usr/local/bin/myscript1/dev/null

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

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

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

考题 在linux系统中,当前路径为/tmp/test,将/tmp/test/oldfile更改为/tmp/test/newfile,以下命令错误的是()。A、mv /tmp/test/oldfile newfileB、mv /tmp/test/oldfile /tmp/test/newfileC、mv oldfile /tmp/test/D、mv oldfile newfile

考题 在linux系统中,当前路径为/tmp/test,将/tmp/test/oldfile更改为/tmp/test/newfile,以下命令正确的是()。A、mv /tmp/test/oldfile newfileB、mv /tmp/test/oldfile /tmp/test/newfileC、mv oldfile newfileD、mv oldfile /tmp/test/newfileE、mv oldfile /tmp/test/

考题 在linux系统中,用cp命令将/tmp/test中的文件到/tmp/test1中,不想拷贝目录本身,以下命令正确的是()。A、cp -R /tmp/test /tmp/test1B、cp -r /tmp/test /tmp/test1C、cp -R /tmp/test/. /tmp/test1D、cp /tmp/test /tmp/test1

考题 A system administrator wants to run a script called myscript, but does not want to see the errors that might be generated by the script. How would this be accomplished?()A、/usr/local/bin/myscript  /dev/nullB、/usr/local/bin/myscript  /dev/nullC、/usr/local/bin/myscript 2 /dev/nullD、/usr/local/bin/myscript 1 /dev/null

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

考题 A user reports that they cannot cd to /tmp/application. A system administrator entered the following    command: Is -Id /tmp/application   drw-r-r- 4 root system 512 Jan 15 14:09 application Which of the following is the most likely cause of the  problem()A、The /tmp/application should be globally writable.B、The /tmp/application directory should be executable.C、The /tmp/application directory should be owned by the user.D、The /tmp/application directory should have the sticky bit set

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

考题 A user reports that they cannot cd to /tmp/application. A system administrator entered the following command:   (1)ls -ld /tmp/application   (2)drw-r--r-- 4 root system 512 Jan 15 14:09 application   What is the most likely cause of the problem?()A、The /tmp/application should be globally writable.B、The /tmp/application directory should be executable.C、The /tmp/application directory should be owned by the user.D、The /tmp/application directory should have the sticky bit set.

考题 Which cron entry will run /usr/local/bin/myscript at 0500 every Saturday of the following?()A、0 5 * * 6 /usr/local/bin/myscriptB、0 5 6 * * /usr/local/bin/myscriptC、6 * * 5 0 /usr/local/bin/myscriptD、5 0 Sat * * /usr/local/bin/myscript

考题 Which cron entry will run /usr/local/bin/myscript at 0500 every Saturday()A、5 0 * * 6 /usr/local/bin/myscriptB、6 * * 5 0 /usr/local/bin/myscriptC、0 5 * * 6 /usr/local/bin/myscriptD、0 5 6 * * /usr/local/bin/myscript

考题 下面哪个语句可以用来测试/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

考题 单选题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.

考题 单选题在linux系统中,当前路径为/tmp/test,将/tmp/test/oldfile更改为/tmp/test/newfile,以下命令错误的是()。A mv /tmp/test/oldfile newfileB mv /tmp/test/oldfile /tmp/test/newfileC mv oldfile /tmp/test/D mv oldfile newfile

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

考题 单选题Which cron entry will run /usr/local/bin/myscript at 0500 every Saturday()A 5 0 * * 6 /usr/local/bin/myscriptB 6 * * 5 0 /usr/local/bin/myscriptC 0 5 * * 6 /usr/local/bin/myscriptD 0 5 6 * * /usr/local/bin/myscript

考题 单选题A system administrator wants to run a script called myscript, but does not want to see the errors that might be generated by the script. How would this be accomplished?()A /usr/local/bin/myscript  /dev/nullB /usr/local/bin/myscript  /dev/nullC /usr/local/bin/myscript 2 /dev/nullD /usr/local/bin/myscript 1 /dev/null

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

考题 单选题如何删除一个非空子目录/tmp()。A del/tmp/*B rm-rf/tmpC rm-Ra/tmp/*D rm–rf/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

考题 单选题A user reports that they cannot cd to /tmp/application. A system administrator entered the following    command: Is -Id /tmp/application   drw-r-r- 4 root system 512 Jan 15 14:09 application Which of the following is the most likely cause of the  problem()A The /tmp/application should be globally writable.B The /tmp/application directory should be executable.C The /tmp/application directory should be owned by the user.D The /tmp/application directory should have the sticky bit set

考题 单选题A user reports that they cannot cd to /tmp/application. A system administrator entered the following command:   (1)ls -ld /tmp/application   (2)drw-r--r-- 4 root system 512 Jan 15 14:09 application   What is the most likely cause of the problem?()A The /tmp/application should be globally writable.B The /tmp/application directory should be executable.C The /tmp/application directory should be owned by the user.D The /tmp/application directory should have the sticky bit set.