An operator needs to change from the /usr/bin to the /var/sp

题目
单选题
An operator needs to change from the /usr/bin to the /var/spool directory. Which of the following commands will accomplish this?()
A

cd /var/spool

B

lcd /var/spool

C

cd /usr/bin /var/spool

D

lcd /usr/bin /var/spool

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

第1题:

ASystempadministratorsuspectstheyarereceivinganerrorfromoneoftheirnightlycronjobs.Thejobis:01***/usr/local/bin/nightlycheck.plWhereshouldtheadministratorfirstlookforerrorsreportedbythiscronjob()

A./var/log/syslog.out

B.var/log/cron.log

C./var/spool/cron/logs

D.mail


参考答案:D

第2题:

An operator wants to view all the scheduled jobs on a system. Which of the following locations would house scheduled jobs?()

A. /etc/var/spool

B. /var/spool/cron

C. /var/sched/jobs

D. /usr/sched/crontabs


参考答案:C

第3题:

InwhichdirectoryarethebasicLinuxcommandssuchasgzip,gunzipandzcatinstalled?()

A./opt/freeware/bin

B./usr/bin/freeware

C./var/freeware/bin

D./usr/sbin/freeware


参考答案:A

第4题:

A  System  p  customer  has  installed  components  from  the  Linux  ToolBox.  By  default,  which  of  the following directories will contain the open source commands such as gzip, gunzip and zcat()

  • A、/opt/freeware/bin
  • B、/usr/bin/freeware
  • C、/var/freeware/bin
  • D、/usr/sbin/freeware

正确答案:A

第5题:

Linux系统的目录/usr、/home、/bin、/dev/、/var、/etc/中主要存放什么文件?


正确答案: /usr存放用户安装的软件;
/home存放系统用户自身的数据;
/bin存放shell命令等可执行文件;
/dev存放系统设备的信息;
/var主要存放系统可变信息的内容,如日志、邮件、打印队列等;
/etc存放系统配置信息。

第6题:

Giventhefollowingscripts,whatoutputwouldbegenerated()usr/local/bin/scriptl!/usr/bin/kshVARl=redexportVARl=greenVARl=blue/usr/local/bin/script2ARl=yellow/usr/local/bin/script2!/bin/kshecho"Theskyis${VAR1}."

A.Theskyisred.

B.Theskyisblue.

C.Theskyisgreen.

D.Theskyisyellow.


参考答案:C

第7题:

An operator needs to change from the /usr/bin to the /var/spool directory. Which of the following commands will accomplish this?()

A. cd /var/spool

B. lcd /var/spool

C. cd /usr/bin /var/spool

D. lcd /usr/bin /var/spool


参考答案:A

第8题:

Which command will change the user webserver’s shell toksh93?()

A.chshell -ksh93 webserver

B.chsh webserver /usr/bin/ksh93

C.chuser -a shell=/usr/bin/ksh93 webserver

D.setuid -a SHELL=/usr/bin/ksh93 -u webserver


参考答案:B

第9题:

Which action changes the default editor for ALL users on the system from vi to edit?()

  • A、Issue the command:export EDITOR=/usr/bin/edit edit each users .profile to change the EDITOR value to /usr/bin/edit
  • B、Modify /.profile and change the EDITOR variable to /usr/bin/edit
  • C、Modify /etc/environment and add EDITOR=/usr/bin/edit export EDITOR
  • D、Modify /etc/security/defaults and change the EDITOR value to /usr/bin/edit

正确答案:C

第10题:

A System p administrator suspects they are receiving an error from one of their nightly cron jobs. The  job is: 0 1 * * * /usr/local/bin/nightlycheck.pl Where should the administrator first look for errors reported by  this cron job()

  • A、/var/log/syslog.out
  • B、var/log/cron.log
  • C、/var/spool/cron/logs
  • D、mail

正确答案:D

更多相关问题