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 nohu

题目

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
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

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

第2题:

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

第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题:

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

第5题:

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

第6题:

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.

正确答案:C

第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

正确答案:C

第8题:

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

第9题:

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

第10题:

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

更多相关问题