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

单选题
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/null

B

/usr/local/bin/myscript < /dev/null

C

/usr/local/bin/myscript 2> /dev/null

D

/usr/local/bin/myscript 1> /dev/null


参考解析

解析: 暂无解析

相关考题:

You are an administrator of Ezonexam.com's network. You want to perform. routine upgrades on your Windows 2000 Server computer. You use your non-administrator user account in the domain to logon to the server.You want to upgrade all of the critical system files and patches on the server in the shortest possible time.What should you do?A.Use Windows Update.B.Run System File Checker.C.Log on as administrator and run Windows Update.D.Log on as administrator and run System File Checker.

After mirroring rootvg, a system administrator wants to validate that the system will boot correctly.Which of the following tasks must be performed before changing the boot order?() A.Run a bosboot -a commandB.Mirror the hd5 on the two disksC.Set up another service mode bootlistD.Check the disks using a lsvg -p rootvg command

A system administrator has just applied an update to an AIX system to correct a problem, The APAR number is IX49035 and was shipped as part of the PTF number U437542. After applying the APAR fix, the administrator wants to ensure that the fix is applied before informing the system users of the corrected problem. Which of the following commands should the system administrator run to verify that the APAR fix has been applied to the system?()A.lslpp -f IX49035B.lslpp -fB U437542C.instfix -f IX49035D.instfix -ik IX49035

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 administrator has added a new device to a system and wants to determine if it has been correctly added to the ODM database. Which command would the system administrator use?()A、odmgetB、odmaddC、odmshowD、odmcreate

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

A system administrator completed an upgrade of the maintenance level of their AIX system. Which of the following commands should be run to verify that the operating system is in a consistent state?()A、instfix -iB、lslpp -lC、lppchk -vD、oslevel -r

A system administrator wants to configure a system so that all new users will be put into the database group by default. How would this be accomplished?()A、remove all other groups from the systemB、run the command mkuser -default "GROUP=database"C、change the default group in /usr/lib/security/mkuser.defaultD、edit /etc/security/group to move all users to the database stanza

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

After mirroring rootvg, a system administrator wants to validate that the system will boot correctly. Which of the following tasks must be performed before changing the boot order?()A、Run a bosboot -a commandB、Mirror the hd5 on the two disksC、Set up another service mode bootlistD、Check the disks using a lsvg -p rootvg command

An AIX system administrator wants to be able to monitor disk usage and to be able to control how much disk space can be used.  Which command is run to obtain the desired output?()A、 /usr/bin/filemon B、 /usr/bin/startsrc C、 /usr/sbin/acct/startup D、 /usr/bin/df

A system administrator has a filesystem called /test/data in volume group datavg. Which of the following commands will allow the administrator to create a mirrored copy of the filesystem’s data?()A、chfsB、chlvC、mklvcopyD、mkfscopy

If a system administrator wants to show only a disk report for disk2, at two second intervals, what is the correct command to run?()A、 iostat disk1 1 B、 iostat -d disk1 2 C、 iostat disk2 1 D、 iostat -d disk2 2

The system hangs at boot time after starting NFS services.What is the most likely cause?()A、The action parameter of rcnfs in /etc/inittab is 'off' and the script called is not exiting.B、The action parameter of rcnfs in /etc/inittab is 'wait' and the script called is not exiting.C、The action parameter of rcnfs in /etc/inittab is 'once' and the script called is not exiting.D、The action parameter of rcnfs in /etc/inittab is 'respawn' and the script called is not exiting.

The system hangs at boot time after starting NFS services. What is the most likely cause?() A、The action parameter of rcnfs in /etc/inittab is ’off’ and the script called is not exiting.B、The action parameter of rcnfs in /etc/inittab is ’wait’ and the script called is not exiting.C、The action parameter of rcnfs in /etc/inittab is ’once’ and the script called is not exiting.D、The action parameter of rcnfs in /etc/inittab is ’respawn’ and the script called is not exiting

An administrator wants to test the performance of an application at different memory sizes.  What is the most effective way to perform the test and collect statistical information for each test?()  A、Run DLPAR to change the LPAR memory for each test.B、Run rmss command to simulate different memory for each test.C、Run chdev command to limit the system memory size for each test.D、Run chattr command to limit the system memory size for each test.

A user has written a script that is not running correctly and asks an administrator for help. Without adding anything to the script, how can the administrator determine the cause of the problem?()A、Run the script with an 'sh -x' in front.B、Run the script with a 'ksh -v' in front.C、Type debug into the command line before running the script.D、Type 'set -x' into the command line before running the script.

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.

Your network has 1,000 client computers that run Windows 7.    You need to install an application, in the Local System account context,on the client computers.   What are two possible ways to achieve this goal?() A、Configure a logon script.B、Configure a logoff script.C、Configure a startup script.D、Configure a shutdown script.

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

A system administrator has just applied an update to an AIX system to correct a problem, The APAR number is IX49035 and was shipped as part of the PTF number U437542. After applying the APAR fix, the administrator wants to ensure that the fix is applied before informing the system users of the corrected problem. Which of the following commands should the system administrator run to verify that the APAR fix has been applied to the system?()A、lslpp -f IX49035B、lslpp -fB U437542C、instfix -f IX49035D、instfix -ik IX49035

单选题Which of the following files must be customized to run a script that further configures the system upon completion of a mksysb install?()Aauto.uBinst.dataCbos.autoiDbosint.data

单选题If a system administrator wants to show only a disk report for disk2, at two second intervals, what is the correct command to run?()A iostat disk1 1 B iostat -d disk1 2 C iostat disk2 1 D iostat -d disk2 2

单选题The system hangs at boot time after starting NFS services.What is the most likely cause?()AThe action parameter of rcnfs in /etc/inittab is 'off' and the script called is not exiting.BThe action parameter of rcnfs in /etc/inittab is 'wait' and the script called is not exiting.CThe action parameter of rcnfs in /etc/inittab is 'once' and the script called is not exiting.DThe action parameter of rcnfs in /etc/inittab is 'respawn' and the script called is not exiting.

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

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

单选题You are the network administrator for your domain at TestKing.com. All servers run Windows Server 2003. You manage a server named TestKing7. You create a script named TestKingDataBackup.cmd on TestKing7 that contains Ntbackup commands for 10 separate backup jobs. You use the AT command from your client computer to schedule and run backups on TestKing7. You also use Automated System (ASR) on TestKing7. A user, Tess King, reports that several directories are missing from TestKing7. You establish that you need to restore all 10 backup jobs. You need to restore the data with the least amount of administrative effort. What should you do?()AFrom your client computer, modify the TestKingDataBackup.cmd script to restore data. Use the AT command to run the script.BLog on to TestKing7 and use the Backup utility to restore the first backup job. Repeat for each job.CLog on to TestKing7 and modify the TestKingDataBackup.cmd script to restore data. Use the AT command to run the script.DUse ASR to restore the system.

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