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

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.err

B. myscript.ksh $1>/tmp/log/script.log $2>/tmp/log/script.err

C. myscript.ksh 1>/tmp/log/script.log 2>1 /tmp/log/script/err

D. myscript.ksh 2>1 /tmp/log/script.log 2> /tmp/log/script.err


相关考题:

A recently installed package needs to be rolled back to aprevious version.Which of the following commands will perform the task?() A.rejectB.cleanupC.deinstallD.uninstall

The operator needs to change the /test filesystem in the testvg volume group so that it mounts automatically following a system reboot. Which of the following commands is correct?() A. chvg -a y testvgB. chfs -A yes /testC. mount /test -auto=yesD. chlv -a automount=y testlv

An operator wants to move all files inside the directory /home/operator to the current directory. Which of the following commands will complete the task?() A. mv /home/operator .B. mv /home/operator/* .C. mv /home/operator ../..D. mv /home/operator/all ../home/operator

Operator needs to remove all leading comments from shell.script file. Which of the following vi sub-command can achieve this?() A. :r/^#//gB. :1,$ s/^#//gC. :sed s/^#//gD. :sub s/^#//g

A network administrator needs to allow only one Telnet connection to a router. For anyone viewing the configuration and issuing the show run command, the password for Telnet access should be encrypted. Which set of commands will accomplish this task?()A.B.C.D.

The operator needs to change the /test filesystem in the testvg volume group so that it mounts automatically following a system reboot. Which of the following commands is correct?()A、chvg -a y testvgB、chfs -A yes /testC、mount /test -auto=yesD、chlv -a automount=y testlv

Which task would you perform before you run Oracle Universal Installer (OUI) in silent or suppressed mode foran installation?()A、Run the root.sh script.B、Create the oraInst.loc file.C、Create the tnsnames.ora file.D、Run the oraInstRoot.sh script.

What will be the result of attempting to compile and run the following code?()   public class Q6b0c {   public static void main(String args[]) {  int i = 4;  float f = 4.3;   double d = 1.8;   int c = 0;   if (i == f) c++;   if (((int) (f + d)) == ((int) f + (int) d))  c += 2;   System.out.println(c);   }   }  A、The code will fail to compile.B、0 will be written to the standard output.C、1 will be written to the standard output.D、2 will be written to the standard output.E、3 will be written to the standard output.

Which of the following commands will be run at a command prompt to determine which WindowsOS is running on the computer?()A、VERB、Device ManagerC、VERIFYD、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

Which of the following commands should be used to obtain a detailed output of the system error log?()A、 errpt -d B、 errpt -a C、 errpt -D D、 errpt -i /var/adm/ras/diag_log

An operator wants to move all files inside the directory /home/operator to the current directory. Which of the following commands will complete the task?()A、mv /home/operator .B、mv /home/operator/* .C、mv /home/operator ../..D、mv /home/operator/all ../home/operator

A recently installed package needs to be rolled back to a previous version. Which of the following commands will perform the task?() A、rejectB、cleanupC、deinstallD、uninstall

Operator needs to remove all leading comments # from shell.script file. Which of the following vi sub-command can achieve this?()A、:r/^#//gB、:1,$ s/^#//gC、:sed s/^#//gD、:sub s/^#//g

What will be the result of attempting to compile and run the following program?()   public class Q28fd {   public static void main(String args[]) {   int counter = 0;   l1:   for (int i=10; i0; i--) {   l2:  int j = 0;   while (j  10) {   if (j  i) break l2;   if (i == j) {   counter++;   continue l1;   }   }   counter--;   }   System.out.println(counter);  }   }   A、The program will fail to compile.B、The program will not terminate normally.C、The program will write 10 to the standard output.D、The program will write 0 to the standard output.E、The program will write 9 to the standard output.

You have created a script in the recovery catalog called backup_database. Which of the following commands would successfully execute that script?()  A、 run { open script backup_database; run script backup_database }B、 run { engage script backup_database; }C、 run { run script backup_database; }D、 Run { execute script backup_database; }E、 The name backup_database is an invalid name for an RMAN script. Trying to run it from RMAN would result in an error.

Which task would you perform before you run Oracle Universal Installer (OUI) in silent or suppressedmode for an installation()A、Run the root.sh script.B、Create the oraInst.loc file.C、Create the tnsnames.ora file.D、Run the oraintRoot.sh script.

单选题Which task would you perform before you run Oracle Universal Installer (OUI) in silent or suppressedmode for an installation()ARun the root.sh script.BCreate the oraInst.loc file.CCreate the tnsnames.ora file.DRun the oraintRoot.sh script.

单选题What will be the result of attempting to compile and run the following program?()   public class Q28fd {   public static void main(String args[]) {   int counter = 0;   l1:   for (int i=10; i i) break l2;   if (i == j) {   counter++;   continue l1;   }   }   counter--;   }   System.out.println(counter);  }   }AThe program will fail to compile.BThe program will not terminate normally.CThe program will write 10 to the standard output.DThe program will write 0 to the standard output.EThe program will write 9 to the standard output.

单选题What will be the result of attempting to compile and run the following code?()   public class Q6b0c {   public static void main(String args[]) {  int i = 4;  float f = 4.3;   double d = 1.8;   int c = 0;   if (i == f) c++;   if (((int) (f + d)) == ((int) f + (int) d))  c += 2;   System.out.println(c);   }   }AThe code will fail to compile.B0 will be written to the standard output.C1 will be written to the standard output.D2 will be written to the standard output.E3 will be written to the standard output.

单选题An  administrator  must  verify  all  filesets  are  completely  installed  before  an  upgrade.   Which  of  the following commands will perform this task()AIslpp -vBIppchk -vCinstallp -vDinstfix -v

单选题Operator needs to remove all leading comments # from shell.script file. Which of the following vi sub-command can achieve this?()A:r/^#//gB:1,$ s/^#//gC:sed s/^#//gD:sub s/^#//g

单选题An operator needs to change from the /usr/bin to the /var/spool directory. Which of the following commands will accomplish this?()Acd /var/spoolBlcd /var/spoolCcd /usr/bin /var/spoolDlcd /usr/bin /var/spool

单选题You work as a database administrator for Certkiller .com. While loading data into the Certkiller STAFF table using Oracle Enterprise Manager 10g Database Control, you find the status of the job as failed. On further investigation, you find the following error message in the output log: ORA-01653 unable to extend table HR. Certkiller STAFF by 8 intablespaceUSERS Which task would you perform to load the data successfully without affecting the users who are accessing the table?()ARestart the database instance and run the jobBTruncate the Certkiller STAFF table and run the jobCDelete all rows from the Certkiller STAFF table and run the jobDIncrease the size of the USERStablespacethe and run the jobEIncrease the size of the database default permanenttablespaceand run the job

单选题Which of the following commands must be issued to remove a stored script from the recovery catalog?()ADELETE SCRIPTBERASE SCRIPTCREMOVE SCRIPTDUNCATALOG SCRIPT

单选题Which of the following commands should be used to obtain a detailed output of the system error log?()A errpt -d B errpt -a C errpt -D D errpt -i /var/adm/ras/diag_log

单选题You have created a script in the recovery catalog called backup_database. Which of the following commands would successfully execute that script?()A run { open script backup_database; run script backup_database }B run { engage script backup_database; }C run { run script backup_database; }D Run { execute script backup_database; }E The name backup_database is an invalid name for an RMAN script. Trying to run it from RMAN would result in an error.