niusouti.com

单选题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.kshB nohup ./script.kshC run -b ./script.kshD ./script.ksh >

题目
单选题
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
解析: 暂无解析
更多“单选题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.kshB nohup ./script.kshC run -b ./script.kshD ./script.ksh n”相关问题
  • 第1题:

    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

  • 第2题:

    When an operator is trying to log off the system displays this message: you have running jobs?? What does this mean?()

    • A、One or more processes are running in the background, preventing log off.
    • B、One or more processes are paused, requiring operator input prior to logging off.
    • C、At least one process is running in the background and it will keep running after the operator logs off
    • D、At least one process is running in the background using nohup and it will terminate when the operator logs off

    正确答案:C

  • 第3题:

    How can an operator temporarily gain access to the command line while in a smit session, without losing the current smit session?()

    • A、F2 key
    • B、F6 key
    • C、F8 key
    • D、F9 key

    正确答案:D

  • 第4题:

    Operator needs to remove all leading comments # from shell.script file. Which of the following vi sub-command can achieve this?()

    • A、:r/^#//g
    • B、:1,$ s/^#//g
    • C、:sed s/^#//g
    • D、:sub s/^#//g

    正确答案:D

  • 第5题:

    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.

    正确答案:D

  • 第6题:

    Given the script   create script db_backup_datafile_script  {backup datafile and 1, and2 plus archivelog delete input;} Run {execute script db_backup_datafile_script using 2;}   What is the result of running this command?()  

    • A、 The script will fail since you instructed RMAN to back up only one datafile rather than two
    • B、 The script will successfully back up datafile 3 without error
    • C、 The script will fail since it uses a substitution variable which is not supported
    • D、 The execute script command will prompt for the value of and2 since it’s not included in the command
    • E、 The script will fail because you cannot use the plus archivelog command when backing up

    正确答案:D

  • 第7题:

    单选题
    When an operator is trying to log off the system displays this message: you have running jobs?? What does this mean?()
    A

    One or more processes are running in the background, preventing log off.

    B

    One or more processes are paused, requiring operator input prior to logging off.

    C

    At least one process is running in the background and it will keep running after the operator logs off

    D

    At least one process is running in the background using nohup and it will terminate when the operator logs off


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

  • 第8题:

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


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

  • 第9题:

    单选题
    How can an operator list all its history of commands in one step?()
    A

    Run c -l 0?from the command line.Run ?c -l 0?from the command line.

    B

    Invoke SMIT for the shell environment.

    C

    Run the SC + H?combination at the command prompt.Run the ?SC + H?combination at the command prompt.

    D

    Use a rep?command with its UID against the /var/log/history_cmds file.Use a ?rep?command with its UID against the /var/log/history_cmds file.


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

  • 第10题:

    单选题
    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
    解析: 暂无解析

  • 第11题:

    单选题
    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
    解析: 暂无解析

  • 第12题:

    单选题
    An administrator is supporting an AIX 6.1 LPAR remotely and needs a tape operator to plug a cable into an Ethernet adapter. The tape operator does not have POWER6 595 knowledge.  What can the administrator do to assist the tape operator to locate the correct adapter?()
    A

    Advise the tape operator to review the hardware service guide.

    B

    Use the diag command to set the Ethernet adapter slot LED to flash.

    C

    Advise the tape operator to check the WWN stickers of all Ethernet adapter in the I/O drawers.

    D

    Create a login account for tape operator on the HMC and advise the tape operator to locate the adapter using the GUI step by step.


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

  • 第13题:

    A three-node cluster experienced a node failure. The resource groups were acquired as cexpected. The node has been repaired,and HACMP has been restarted.  How does the operator determine that the node has successfully re-integrated into the cluster?()  

    • A、 Use the clstat command.
    • B、 Use the cIRGinfor command.
    • C、 Tail the /etc/hacmp.out file and wait for "node_up_complete" to finish successfully.
    • D、 Tail the /usr/es/adm/cluster.log file and wait for "node_up_complete" to finish successfully.

    正确答案:A

  • 第14题:

    How can an operator list all its history of commands in one step?()

    • A、Run c -l 0?from the command line.Run ?c -l 0?from the command line.
    • B、Invoke SMIT for the shell environment.
    • C、Run the SC + H?combination at the command prompt.Run the ?SC + H?combination at the command prompt.
    • D、Use a rep?command with its UID against the /var/log/history_cmds file.Use a ?rep?command with its UID against the /var/log/history_cmds file.

    正确答案:A

  • 第15题:

    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

  • 第16题:

    An administrator is supporting an AIX 6.1 LPAR remotely and needs a tape operator to plug a cable into an Ethernet adapter. The tape operator does not have POWER6 595 knowledge.  What can the administrator do to assist the tape operator to locate the correct adapter?()  

    • A、Advise the tape operator to review the hardware service guide.
    • B、Use the diag command to set the Ethernet adapter slot LED to flash.
    • C、Advise the tape operator to check the WWN stickers of all Ethernet adapter in the I/O drawers.
    • D、Create a login account for tape operator on the HMC and advise the tape operator to locate the adapter using the GUI step by step.

    正确答案:B

  • 第17题:

    Which statement about using RMAN stored scripts is true?()  

    • A、 To create and execute an RMAN stored script,you must use a recovery catalog.
    • B、 When executing a stored script and a command fails,the remainder of the script is executed,and a message is written to the alert log file.
    • C、 RMAN stored scripts can always be executed against any target database that is registered in the recovery catalog.
    • D、 When you execute a stored script,it always executes using the persistent channel settings previously set with the CONFIGURE command.

    正确答案:A

  • 第18题:

    单选题
    Which statement about using RMAN stored scripts is true?()
    A

     To create and execute an RMAN stored script,you must use a recovery catalog.

    B

     When executing a stored script and a command fails,the remainder of the script is executed,and a message is written to the alert log file.

    C

     RMAN stored scripts can always be executed against any target database that is registered in the recovery catalog.

    D

     When you execute a stored script,it always executes using the persistent channel settings previously set with the CONFIGURE command.


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

  • 第19题:

    单选题
    You want to perform in incomplete recovery of your database.  You plan to use these commands to recover your database:  SET UNTIL TIME = ’2000-12-09:11:44:00’;  RESTORE DATABASE; RECOVER DATABASE;  How should the commands be executed? ()
    A

    Only the SET command must be within a RUN block.

    B

    All commands should be executed at the RMAN prompt.

    C

    All three commands must be within a single RUN block.

    D

    Only the RESTORE and RECOVER commands must be within a single RUN block.


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

  • 第20题:

    单选题
    Which statement about using RMAN stored scripts is true?()
    A

    To create and execute an RMAN stored script, you must use a recovery catalog.

    B

    When executing a stored script and a command fails, the remainder of the script is executed, and a message is written to the alert log file.

    C

    RMAN stored scripts can always be executed against any target database that is registered in the recovery catalog.

    D

    When you execute a stored script, it always executes using the persistent channel settings previously set with the CONFIGURE command.


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

  • 第21题:

    单选题
    A three-node cluster experienced a node failure. The resource groups were acquired as cexpected. The node has been repaired,and HACMP has been restarted.  How does the operator determine that the node has successfully re-integrated into the cluster?()
    A

     Use the clstat command.

    B

     Use the cIRGinfor command.

    C

     Tail the /etc/hacmp.out file and wait for node_up_complete to finish successfully.

    D

     Tail the /usr/es/adm/cluster.log file and wait for node_up_complete to finish successfully.


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

  • 第22题:

    单选题
    How can an operator temporarily gain access to the command line while in a smit session, without losing the current smit session?()
    A

    F2 key

    B

    F6 key

    C

    F8 key

    D

    F9 key


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

  • 第23题:

    单选题
    Given the script   create script db_backup_datafile_script  {backup datafile and 1, and2 plus archivelog delete input;} Run {execute script db_backup_datafile_script using 2;}   What is the result of running this command?()
    A

     The script will fail since you instructed RMAN to back up only one datafile rather than two

    B

     The script will successfully back up datafile 3 without error

    C

     The script will fail since it uses a substitution variable which is not supported

    D

     The execute script command will prompt for the value of and2 since it’s not included in the command

    E

     The script will fail because you cannot use the plus archivelog command when backing up


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

  • 第24题:

    单选题
    Operator needs to remove all leading comments # from shell.script file. Which of the following vi sub-command can achieve this?()
    A

    :r/^#//g

    B

    :1,$ s/^#//g

    C

    :sed s/^#//g

    D

    :sub s/^#//g


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