可学答题网 > 问答 > IBM(000-103) 题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

An operator needs to run a script whic


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
参考答案
参考解析:
分类:IBM(000-103) 题库
相关推荐

1、An application needs to store a 5 MB J

An application needs to store a 5 MB JPEG image in a DB2 table. Which data type should be specified for the column that will be used for storing the image?()AGRAPHICBBINARYCIMAGEDBLOB

2、An administrator needs to apply a Tec

An administrator needs to apply a Technology Level update. During the preview install, the output indicates that there is insufficientspace in t...

3、An administrator needs to configure a

An administrator needs to configure a server (192.168.22.22) as a temporary solution for an NTP master that has stopped working.What is the pro...

4、An administrator needs to recover an

An administrator needs to recover an HMC due to a failed disk. The disk has been replaced, allowing the administrator to reinstall the HMC ba...

5、An operator needs to create /dir1/dir2

An operator needs to create /dir1/dir2/dir3. The /dir1 does not exist. What command can be used to create dir2 and dir3?()A mkdir /dir1/dir2/dir3B mkdir -R dir1/dir2/dir3C mkdir -p /dir1/dir2/dir3D mkdir -r /dir1/dir2/dir3

6、Operator needs to remove all leading c

Operator needs to remove all leading comments # from shell.script file. Which of the following vi sub-command can achieve this?()A :r/^#//gB :1,$ s/^#//gC :sed s/^#//gD :sub s/^#//g