单选题What can be done to enable the debug information for functions to be displayed when using‘ksh -x’to debug a script?()A Run the script using ‘ksh -fx’.B Run the script using ‘ksh -a function -x’.C Edit the script and add ‘set -x’ at the beginning.D Edit

题目
单选题
What can be done to enable the debug information for functions to be displayed when using‘ksh -x’to debug a script?()
A

Run the script using ‘ksh -fx’.

B

Run the script using ‘ksh -a function -x’.

C

Edit the script and add ‘set -x’ at the beginning.

D

Edit the script and add ‘set -x’ at the beginning of each function.


相似考题
参考答案和解析
正确答案: D
解析: 暂无解析
更多“What can be done to enable the debug information for functio”相关问题
  • 第1题:

    -Oh, no! It's raining. We can't go skating on the square. - ____________

    A、Well done !

    B、What a shame !

    C、What a surprise !


    参考答案:B

  • 第2题:

    In a Bridged 1483 network, an ISP has received complaints from their subscribers of denial of service attacks.The ISP suspects these attacks are coming from other subscribers that share the same IP unnumbered interface on the ERX.What can be done to solve this problem?()

    A. Enable Proxy ARP.

    B. Disable Proxy ARP.

    C. Enable Inverse ARP.

    D. Disable Inverse ARP.


    参考答案:B

  • 第3题:

    In order to troubleshoot an issue with the Testking frame relay network, you log into a remote router via a telnet session and issue the command "debug frame-relay lmi". After a long wait, you fail to see any output. What could be the cause of this problem?()

    • A、The IP addresses are configured incorrectly.
    • B、Frame Relay LMI messages not displayed in real time.
    • C、The administrator must issue the enable frame-relay lmi debug command.
    • D、The administrator must issue the terminal monitor command.
    • E、Debug messages can only be received once through the console port.
    • F、The administrator must issue the show frame-relay lmi vty 0 4 command

    正确答案:D

  • 第4题:

    You have a domain controller that runs Windows Server 2008 and is configured as a DNS server. You need to record all inbound DNS queries to the server. What should you configure in the DNS Manager console()

    • A、Enable debug logging.
    • B、Enable automatic testing for simple queries.
    • C、Enable automatic testing for recursive queries.
    • D、Configure event logging to log errors and warnings.

    正确答案:A

  • 第5题:

    You have a domain controller that runs Windows Server 2008 R2 and is configured as a DNS  server.     You need to record all inbound DNS queries to the server.     What should you configure in the DNS Manager console()

    • A、Enable debug logging.
    • B、Enable automatic testing for simple queries.
    • C、Enable automatic testing for recursive queries.
    • D、Configure event logging to log errors and warnings.

    正确答案:A

  • 第6题:

    What can be done to enable the debug information for functions to be displayed when using‘ksh -x’to debug a script?()

    • A、Run the script using ‘ksh -fx’.
    • B、Run the script using ‘ksh -a function -x’.
    • C、Edit the script and add ‘set -x’ at the beginning.
    • D、Edit the script and add ‘set -x’ at the beginning of each function.

    正确答案:D

  • 第7题:

    You work as a database administrator for Certkiller .com. You enabled tracing while creating a listener to your database.  What additional information is available to you when you enable tracing?()

    • A、Information about each Oracle Net connection.
    • B、Information about each entry in theLinstener.orafile
    • C、Information about the changed done in the database
    • D、Information about the different listeners in your system
    • E、Information about all thenondatabasefiles required to operate the database

    正确答案:A

  • 第8题:

    Certkiller.com has employed you as a system administrator. You are in the process of creating anASP.NET AJAX application using .NET Framework v3.5.  You receive an instruction from management to debug the JavaScript code in the application. Youthen attach Microsoft Visual Studio 2008 debugger to the Microsoft Internet Explorer instance. Youneed to make sure that the details of the client side object on the debugger console is displayedon the application.  What should you do?()

    • A、This can be achieved using the Sys.Debug.fail method.
    • B、This can be achieved using the Sys.Debug.traceDump method.
    • C、This can be achieved using the Sys.Debug.trace method.
    • D、This can be achieved using the Sys.Debug.assert method.

    正确答案:B

  • 第9题:

    You work as a Web Developer at Certkiller.com. You make use of Microsoft ASP.NET 3.5 tocreate a Web application.  The Certkiller.com network contains a test server named CERTKILLER-SR01. You deploy theapplication to CERTKILLER-SR01 and enable debugging. The application is hosted in MicrosoftInternet Information Services (IIS) 6.0. The application pool makes use of Network Serviceidentity.  You need to determine a way to configure the environment in order to permit you to debug theapplication from your development computer.  What should you do?()

    • A、This can be achieved by installing the remote debugging components on CERTKILLER-SR01.
    • B、This can be achieved by setting the mode feature of the customErrors element to Off in theWeb.config file.
    • C、This can be achieved by creating a Debugger Users group on the workstation and adding youraccount to it.
    • D、This can be achieved by clearing the Disable script debugging (Other) option in InternetExplorer on CERTKILLER-SR01.
    • E、This can be achieved by ensuring that you have administrative privileges on CERTKILLER-SR01.

    正确答案:A,E

  • 第10题:

    You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application contains a custom control that is used to display customer information. You discover that the custom control is not rendering correctly. You need to identify the WPF element that is causing the issue. You want to achieve this goal by using the minimum amount of administrative effort. What should you do?()

    • A、 Start the application in debug mode.Place a breakpoint at the main entry point of the application.Use the debugger to step through the application code.
    • B、 Start the application in debug mode.Place a breakpoint at the main entry point of the application.Use the WPF Tree Visualizer tool.
    • C、 Enable IntelliTrace and configure Visual Studio to generate a trace log.Start the application in debug mode.
    • D、 "Enable IntelliTrace and configure Visual Studio to generate a trace log.Start the application by double-clicking the executable file (.exe).

    正确答案:B

  • 第11题:

    单选题
    Certkiller.com has employed you as a system administrator. You are in the process of creating anASP.NET AJAX application using .NET Framework v3.5.  You receive an instruction from management to debug the JavaScript code in the application. Youthen attach Microsoft Visual Studio 2008 debugger to the Microsoft Internet Explorer instance. Youneed to make sure that the details of the client side object on the debugger console is displayedon the application.  What should you do?()
    A

    This can be achieved using the Sys.Debug.fail method.

    B

    This can be achieved using the Sys.Debug.traceDump method.

    C

    This can be achieved using the Sys.Debug.trace method.

    D

    This can be achieved using the Sys.Debug.assert method.


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

  • 第12题:

    单选题
    As an experienced technician, you are responsible for Technical Support in your company. One of the trainees is asking you in what might happen if he issues the logging trap information command. Which of the following statement will answer his quest|on?()
    A

    Informational and debug messages are logged to the syslog server.

    B

    All messages are sent to the logging host, where selections are made.

    C

    An information trap is sent to the SNMP server.

    D

    All messages from emergencies to informational are sent to the logging host.


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

  • 第13题:

    Within the team, a work plan can tell each member what()and why.

    A. is being done

    B. has done

    C. has been done


    参考答案:A

  • 第14题:

    In a Bridged 1483 network, an ISP has received complaints from their subscribers of denial of service attacks. The ISP suspects these attacks are coming from other subscribers that share the same IP unnumbered interface on the ERX. What can be done to solve this problem?()

    • A、Enable Proxy ARP.
    • B、Disable Proxy ARP.
    • C、Enable Inverse ARP.
    • D、Disable Inverse ARP.

    正确答案:B

  • 第15题:

    What can help expose problems with script logic or validity by simulating the execution of a script?()

    • A、Alarm and Trace Configuration  
    • B、debug session  
    • C、script validation  
    • D、script refresh

    正确答案:B

  • 第16题:

    Companycom will be using Virtual IO Server to share Ethernet adapters. What can be done to prevent network failure of the client if a Virtual IO Server goes down?()

    • A、Create two virtual adapters on the client, each one from a separate Virtual IO Server
    • B、Enable dead gateway detection on the client so that the network traffic can be rerouted
    • C、Have a spare network card on standby in the client in case the Virtual IO Server goes down
    • D、Create an etherchannel adapter on the client using one Virtual Ethernet adapter from two  separate Virtual IO Servers

    正确答案:A

  • 第17题:

    Which command will enable dhcp debugging on a wlan controller?()

    • A、debug dhcp enable
    • B、debug dhcp status enable
    • C、debug dhcp packet enable
    • D、enable debug dhcp packet

    正确答案:C

  • 第18题:

    What command can an administrator use to get summary performance information about the hypervisor?()

    • A、 vmstat -H
    • B、 mpstat -s
    • C、 lparstat -h
    • D、 sar -p HYPER

    正确答案:C

  • 第19题:

    You have a domain controller that runs Windows Server 2008 and is configured as a DNS server You need to record all inbound DNS queries to the server. What should you configure in the DNS Manager console()

    • A、Enable debug logging.
    • B、Enable automatic testing for simple queries.
    • C、Enable automatic testing for recursrve queries.
    • D、Configure event logging to log errors and warnings.

    正确答案:A

  • 第20题:

    You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You plan to use a PresentationTraceSources object when the application is executed by users. When the application is executed in a test environment, all debug information is successfully captured. You need to be able to capture debug information when the application is deployed. What should you do?()

    • A、 Enable WPF tracing in the registry.Restart the application.
    • B、 Enable tracing by modifying local Group Policy.Restart the application.
    • C、 Open the XML configuration file for your application on the user's computer.Set tracing to a verbose level.Restart the application.
    • D、 Open the XML configuration file for your application on the user's computer.Add a trace listener.Restart the application.

    正确答案:A

  • 第21题:

    Companycom is trying to communicate with the service processor of the a new p5 590. However, the customer can not access the service processor. What needs to be done to fix this problem?()

    • A、Enable DHCP server on the HMC
    • B、Configure host name and IP address on DNS server
    • C、Manually set the IP address of the service processor
    • D、Connect a RS-232 cable from the HMC to the service processor

    正确答案:A

  • 第22题:

    单选题
    You work as a database administrator for Certkiller .com. You enabled tracing while creating a listener to your database.  What additional information is available to you when you enable tracing?()
    A

    Information about each Oracle Net connection.

    B

    Information about each entry in theLinstener.orafile

    C

    Information about the changed done in the database

    D

    Information about the different listeners in your system

    E

    Information about all thenondatabasefiles required to operate the database


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

  • 第23题:

    多选题
    Which three of these items are found within the router advertisement message of IPv6 stateless autoconfiguration?() (Choose three.)
    A

    flags indicating the kind of autoconfiguration that can be done by hosts

    B

    default router information

    C

    /64 prefix that can be used on the link and the lifetime of the prefix

    D

    IPv6 DHCP server address information


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

  • 第24题:

    单选题
    The main reason why GMs require a lot of information is ______.
    A

    in order to be able to tell people what to do

    B

    because their environment is always changing

    C

    to enable them to be flexible

    D

    to help their bosses make decisions


    正确答案: A
    解析:
    最后一段第三句指出“They require large amounts of information which they pass on to top management to help them to make decisions.”,由此可知GMs往往需要大量信息,然后传达给高层管理者,以达到帮助他们做决定的目的。故选项D符合题意。