网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
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
参考答案
更多 “ 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 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()A
Run the root.sh script.B
Create the oraInst.loc file.C
Create the tnsnames.ora file.D
Run 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); } }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.
考题
单选题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.
考题
单选题An administrator must verify all filesets are completely installed before an upgrade. Which of the following commands will perform this task()A
Islpp -vB
Ippchk -vC
installp -vD
instfix -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?()A
cd /var/spoolB
lcd /var/spoolC
cd /usr/bin /var/spoolD
lcd /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?()A
Restart the database instance and run the jobB
Truncate the Certkiller STAFF table and run the jobC
Delete all rows from the Certkiller STAFF table and run the jobD
Increase the size of the USERStablespacethe and run the jobE
Increase 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?()A
DELETE SCRIPTB
ERASE SCRIPTC
REMOVE SCRIPTD
UNCATALOG 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.
热门标签
最新试卷