A system administrator wants to run a script called 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/null

B

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

C

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

D

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

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

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 IX49035

B.lslpp -fB U437542

C.instfix -f IX49035

D.instfix -ik IX49035


参考答案:D

第2题:

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、odmget
  • B、odmadd
  • C、odmshow
  • D、odmcreate

正确答案:A

第3题:

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.


正确答案:C
解析:Explanation:WindowsUpdateisusedtoupgradethesystemfilesandtoretrieveandapplythelatestservicepacksandpatchesfortheoperatingsystem.AllnecessaryfilesaredownloadedthroughtheInternet.TobeabletorunWindowsUpdatewemusthaveadministrativerights.Incorrectanswers:A:Thenon-administrativeuseraccountcannotbeusedtorunWindowsUpdate.TorunWindowsUpdatewemusthaveadministrativerights.B:SystemFileCheckercheckstheintegrityofthesystemfiles.Itcannotbeusedtoupgradethesystemfilesortoretrieveandapplythelatestservicepacksandpatchesfortheoperatingsystem.D:SystemFileCheckercheckstheintegrityofthesystemfiles.Itcannotbeusedtoupgradethesystemfilesortoretrieveandapplythelatestservicepacksandpatchesfortheoperatingsystem.

第4题:

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

第5题:

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 -i
  • B、lslpp -l
  • C、lppchk -v
  • D、oslevel -r

正确答案:C

第6题:

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

第7题:

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

正确答案:C

第8题:

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 command

B.Mirror the hd5 on the two disks

C.Set up another service mode bootlist

D.Check the disks using a lsvg -p rootvg command


参考答案:C

第9题:

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 system
  • B、run the command mkuser -default "GROUP=database"
  • C、change the default group in /usr/lib/security/mkuser.default
  • D、edit /etc/security/group to move all users to the database stanza

正确答案:C

第10题:

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 command
  • B、Mirror the hd5 on the two disks
  • C、Set up another service mode bootlist
  • D、Check the disks using a lsvg -p rootvg command

正确答案:C

更多相关问题