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

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


相似考题
参考答案和解析
正确答案: D
解析: 暂无解析
更多“A user has written a script that is not running correctly an”相关问题
  • 第1题:

    An administrator has written a script to check that the contents of an application configuration file are identicalon all cluster nodes. The script has also been associated with a user defined custom verification method. Theadministrator would like the contents of this file to be checked and verified automatically on a daily basis.How can this be achieved?()

    • A、By using a job scheduler such as cron
    • B、By enabling automatic cluster verification
    • C、By including the script name in the file /usr/es/sbin/cluster/etc/clverify.rc
    • D、By including the custom method name in the file /usr/es/sbin/cluster/etc/rc.authomethods

    正确答案:A

  • 第2题:

    Which of the following is the BEST way to make sure the network printer is automatically installed when the user logs on?()

    • A、Log onto the user’s computer as a local administrator and install the printer.
    • B、Make sure the user has permission to print to the printer.
    • C、Create and implement a logon script.
    • D、After the user has logged on, install the printer.

    正确答案:C

  • 第3题:

    A user reports that the computer is running slowly. After running the SFC, a technician observes that the dllcache folder has become corrupted. Which of the following utilities can be run to repair the contents of the dllcache directory? ()

    • A、FORMAT
    • B、SFC
    • C、HyperTerminal
    • D、DEFRAG

    正确答案:B

  • 第4题:

    Company.com has crated a process application monitor for an application that is initiated by a "c"  Shell script. The application monitor is not functioning as designed.  What could be the issue with eh application monitor?()  

    • A、 A process monitor cannot monitor an application started by a shell.
    • B、 For process monitors to function correctly, they must use the "korn" shell.
    • C、 A custom monitor cannot de3termine the status of applications started by shell scripts.
    • D、 The process monitor script is not existing with a zero return code after checking the status of the application.

    正确答案:A

  • 第5题:

    System configurations on the HMC have been backed up correctly. After a restore, the partitions are defined with different characteristics than the running systems. What is the most probable cause of this problem?()

    • A、The LPAR Configuration backup is corrupt
    • B、The LPAR Configuration has been altered using DLPAR
    • C、The LPAR Configuration backup was performed on a different HMC
    • D、The LPAR Configuration has been altered through the Advanced System Management Interface (ASMI) on the server after the backup was performed

    正确答案:B

  • 第6题:

    You are the administrator of your company’s network. You configure a local group named accounting to have a mandatory user profile. The mandatory profile has been configured to include a custom logo that was saved with 16-bit color and 1025x768 resolution. Some of the Windows 2000 Professional computers in the accounting department have standard VGA video adapters, and others have SVGA video adapters. Several users report that when they log on to certain Windows 2000 Professional computers, the custom bitmap becomes very pixilated and distorted, and does not reflect the proper color depth. You want users to be able to correctly view the custom bitmap on any computer in the accounting department. What should you do? ()

    • A、Configure a roaming user profile for each user in the accounting group
    • B、Configure a separate user profile for each user in the accounting Group
    • C、Change the custom bitmap to a 16-color bitmap that has 640x480 resolution, and reconfigure  the mandatory user profile
    • D、Reinstall the appropriate WDM-compliant drivers for the computers that do not display the  custom bitmap correctly.

    正确答案:C

  • 第7题:

    单选题
    Companycom has been performing scheduled backups of their data to tape using "tar" in a script for over one year with no problems. Recently, the tar command is returning a non zero return code during the backup phase, causing the script to fail. What is the primary cause of this problem?()
    A

    The files have grown to over eight gigabytes in size

    B

    The file systems are corrupt, and fsck should be run

    C

    The tape block size has been changed from the default

    D

    The user’s limit has been changed to less than eight gigabytes


    正确答案: B
    解析: 暂无解析

  • 第8题:

    单选题
    A user reports that they are unable to open any audio files. Yesterday, the user uninstalled third party music software. Which of the following is the MOST likely cause of the user’s error?()
    A

    The file associations were not returned after the software was uninstalled.

    B

    The user is not opening the files correctly.

    C

    The uninstalled software has corrupted all the audio files on the computer.

    D

    The sound card is not properly configured.


    正确答案: D
    解析: 暂无解析

  • 第9题:

    单选题
    You are the network administrator for Your network consists of a single Active Directory domain named All network servers run Windows Server 2003. A single server running Terminal Server is available to remote users. Your help desk staff is responsible for monitoring user activity on the terminal server. The staff is also responsible for sending messages to users about new programs and about modifications to the terminal server. A company developer writes a script that will log the relevant user information in a file and provide pop-up messages as needed. You need to ensure that the script runs every time a user logs on to the terminal server. What should you do?()
    A

    Deploy a client connection object for remote users. Configure the client connection object to run the script.

    B

    On the terminal server, configure the RDP-tcp properties with the name of the script. Override other settings.

    C

    In the Default Domain Group Policy object (GPO), select the Start a program on startup option and specify the name of the script.

    D

    On the terminal server, configure the RDP client properties with the name of the script.


    正确答案: B
    解析: 暂无解析

  • 第10题:

    单选题
    Company.com has crated a process application monitor for an application that is initiated by a "c"  Shell script. The application monitor is not functioning as designed.  What could be the issue with eh application monitor?()
    A

     A process monitor cannot monitor an application started by a shell.

    B

     For process monitors to function correctly, they must use the korn shell.

    C

     A custom monitor cannot de3termine the status of applications started by shell scripts.

    D

     The process monitor script is not existing with a zero return code after checking the status of the application.


    正确答案: D
    解析: 暂无解析

  • 第11题:

    单选题
    While running the Oracle Universal Installer on a Unix platform to install Oracle Database 10g software, you are prompted to run orainstRoot.sh script. What does this script accomplish?()
    A

    It creates the pointer file.

    B

    It creates the base directory.

    C

    It creates the Inventory pointer file.

    D

    It creates the Oracle user for installation.

    E

    It modifies the Unix kernel parameters to match Oracle’s requirement.


    正确答案: C
    解析: 暂无解析

  • 第12题:

    单选题
    Your network contains an Active Directory forest.   You set the Windows PowerShell execution policy to allow unsigned scripts on a domain controller in the  network.  You create a Windows PowerShell script named new-users.ps1 that contains the following lines:  new-aduser user1  new-aduser user2  new-aduser user3  new-aduser user4  new-aduser user5  On the domain controller, you double-click the script and the script runs. You discover that the script fails to create the user accounts.   You need to ensure that the script creates the user accounts.   Which cmdlet should you add to the script()
    A

    Import-Module

    B

    Register-ObjectEvent

    C

    Set-ADDomain

    D

    Set-ADUser


    正确答案: C
    解析: 暂无解析

  • 第13题:

    A user reports that the Windows update function will not run on the computer but the Internet can be accessed. The user is running an original version of Windows XP Professional. Which of the following is MOST likely the cause?()

    • A、The user has not registered the copy of Windows.
    • B、The user has not applied at least Service Pack 1 to their system.
    • C、The user does not know what site to access for the updates.
    • D、The user needs to flush the DNS cache.

    正确答案:B

  • 第14题:

    A user reports that they are unable to open any audio files. Yesterday, the user uninstalled third party music software. Which of the following is the MOST likely cause of the user’s error?()

    • A、The file associations were not returned after the software was uninstalled.
    • B、The user is not opening the files correctly.
    • C、The uninstalled software has corrupted all the audio files on the computer.
    • D、The sound card is not properly configured.

    正确答案:A

  • 第15题:

    The operator needs to execute a long-running shell script. How can the script be executed so the operator does not have to wait until it is complete to access the command prompt?()

    • A、./script.ksh
    • B、nohup ./script.ksh
    • C、run -b ./script.ksh
    • D、./script.ksh > nohup.out

    正确答案:A

  • 第16题:

    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.

    正确答案:A

  • 第17题:

    While running the Oracle Universal Installer on a Unix platform to install Oracle Database 10g software, you are prompted to run orainstRoot.sh script. What does this script accomplish?()

    • A、It creates the pointer file.
    • B、It creates the base directory.
    • C、It creates the Inventory pointer file.
    • D、It creates the Oracle user for installation.
    • E、It modifies the Unix kernel parameters to match Oracle’s requirement.

    正确答案:C

  • 第18题:

    单选题
    A user reports that the Windows update function will not run on the computer but the Internet can be accessed. The user is running an original version of Windows XP Professional. Which of the following is MOST likely the cause?()
    A

    The user has not registered the copy of Windows.

    B

    The user has not applied at least Service Pack 1 to their system.

    C

    The user does not know what site to access for the updates.

    D

    The user needs to flush the DNS cache.


    正确答案: B
    解析: 暂无解析

  • 第19题:

    单选题
    The operator needs to execute a long-running shell script. How can the script be executed so the operator does not have to wait until it is complete to access the command prompt?()
    A

    ./script.ksh

    B

    nohup ./script.ksh

    C

    run -b ./script.ksh

    D

    ./script.ksh > nohup.out


    正确答案: C
    解析: 暂无解析

  • 第20题:

    单选题
    What is an advantage of multiple software processes running in the Junos OS?()
    A

    Each process has its own protected memory space

    B

    Each process is started manually by the user at boot

    C

    All processes are dependent on each other

    D

    Multiple processes allow each routing protocol to be independent


    正确答案: A
    解析: 暂无解析

  • 第21题:

    单选题
    (), the book has many mistakes.
    A

    Having not been written carefully

    B

    Not writing carefully

    C

    Having written not carefully

    D

    Not having been written carefully


    正确答案: C
    解析: 暂无解析

  • 第22题:

    单选题
    A user reports that their machine seems to be running slower than usual. The user states that the computer has become progressively worse as more applications are installed. Which of the following is the FIRST step the technician should take?()
    A

    Run the CHKDSK utility

    B

    Run the disk defragmenter utility

    C

    Increase the capacity on the system volume

    D

    Convert to a dynamic drive on the system


    正确答案: B
    解析: 暂无解析

  • 第23题:

    单选题
    A remote user cannot connect to the office via VPN. The user has established Internet connectivity. Which of the following is the MOST likely next step in troubleshooting?()
    A

    Power cycle the VPN concentrator at the office.

    B

    Determine if the VPN service is running at the office.

    C

    Reinstall the VPN client at the remote computer.

    D

    Determine if the user has the correct VPN address and password.


    正确答案: B
    解析: 暂无解析

  • 第24题:

    单选题
    An administrator has written a script to check that the contents of an application configuration file are identicalon all cluster nodes. The script has also been associated with a user defined custom verification method. Theadministrator would like the contents of this file to be checked and verified automatically on a daily basis.How can this be achieved?()
    A

    By using a job scheduler such as cron

    B

    By enabling automatic cluster verification

    C

    By including the script name in the file /usr/es/sbin/cluster/etc/clverify.rc

    D

    By including the custom method name in the file /usr/es/sbin/cluster/etc/rc.authomethods


    正确答案: C
    解析: 暂无解析