单选题Which of the following entries should be added to the syslog.conf file to capture information to troubleshoot a problem reported with e-mail? ()A  smpt.info /tmp/syslog.msgs B  mail.debug /tmp/syslog.msgs C  daemon.err /tmp/syslog.msgsD  mail.err /tmp/

题目
单选题
Which of the following entries should be added to the syslog.conf file to capture information to troubleshoot a problem reported with e-mail? ()
A

 smpt.info /tmp/syslog.msgs 

B

 mail.debug /tmp/syslog.msgs 

C

 daemon.err /tmp/syslog.msgs

D

 mail.err /tmp/syslog.msgs 

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

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


参考答案:A

第2题:

linux系统中,在/tmp存在一文件file,想更新文件的时间目录为当前的时间的命令是()。

  • A、mkdir /tmp/file
  • B、touch /tmp/file
  • C、mv /tmp/file
  • D、rm /tmp/file

正确答案:B

第3题:

Files /tmp/file2 and /tmp/file3 are hard linked to /tmp/file1.What will the result be if a user makes changes to /tmp/file2 at the same time another user tries to delete /tmp/file1?()

A.All three files will contain the updates and will remain available.

B.All three files will be deleted and no changes will be made to /tmp/file2.

C.Only /tmp/file2 will contain the updates, but /tmp/file3 will remain available.

D.Both /tmp/file2 and /tmp/file3 will contain the updates and will remain available.


参考答案:D

第4题:

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

正确答案:A

第5题:

在linux系统中,用cp命令将/tmp/test/file文件,复制到/tmp下,并保持原来的名字,以下命令中正确的是()。

  • A、cp -l /tmp/test/file /tmp
  • B、cp -s /tmp/test/file /tmp
  • C、cp -r /tmp/test/file /tmp
  • D、cp /tmp/test/file /tmp
  • E、cp /tmp/test/file /tmp/file

正确答案:D,E

第6题:

Which of the following commands will display what space is used in /tmp filesystem?()

A. df -Ik /tmp

B. df -fk /tmp

C. df -Uk /tmp

D. df -Fk /tmp


参考答案:A

第7题:

在linux系统中,在/tmp下创建一个空文件file的命令是()。

  • A、mkdir /tmp/file
  • B、make /tmp/file
  • C、touch /tmp/file
  • D、mv /tmp/file

正确答案:C

第8题:

Whichofthefollowingentriesshouldbeaddedtothesyslog.conffiletocaptureinformationtotroubleshootaproblemreportedwithe-mail?()

A.smpt.info/tmp/syslog.msgs

B.mail.debug/tmp/syslog.msgs

C.daemon.err/tmp/syslog.msgs

D.mail.err/tmp/syslog.msgs


参考答案:B

第9题:

A user reports that they cannot cd to /tmp/application. A system administrator entered the following    command: Is -Id /tmp/application   drw-r-r- 4 root system 512 Jan 15 14:09 application Which of the following is the most likely cause of the  problem()

  • A、The /tmp/application should be globally writable.
  • B、The /tmp/application directory should be executable.
  • C、The /tmp/application directory should be owned by the user.
  • D、The /tmp/application directory should have the sticky bit set

正确答案:B

第10题:

A user reports that they cannot cd to /tmp/application. A system administrator entered the following command:   (1)ls -ld /tmp/application   (2)drw-r--r-- 4 root system 512 Jan 15 14:09 application   What is the most likely cause of the problem?()

  • A、The /tmp/application should be globally writable.
  • B、The /tmp/application directory should be executable.
  • C、The /tmp/application directory should be owned by the user.
  • D、The /tmp/application directory should have the sticky bit set.

正确答案:B

更多相关问题