频道栏目
首页 > 资讯 > Linux认证 > 正文

五十几道RHCE参考笔试试题(二)

16-06-02        来源:[db:作者]  
收藏   我要投稿
  11. what command can you enter to find out which rpm contains the /etc/foo file?

  choose the best answer:

  a. rpm -qa |grep foo

  b. rpm -ql /etc/foo

  c. rpm -qlf /etc/foo

  d. rpm -q -f /etc/foo

  e. man foo

  12. how can i see what directories are being shared via nfs on a remote host called fileserver?

  choose the best answer:

  a. ping fileserver

  b. mount -a -t nfs fileserver

  c. showmount -e fileserver

  d. nfstalk --query fileserver

  e. none of the above

  13. what command do you use to edit the default grace period for quotas?

  choose the best answer:

  a. quotaconfig -g

  b. editquota -g

  c. quotaconfig -t

  d. edquota -t

  e. quotaeditor --grace

  14. you want to compile a new kernel. you have just run "make dep". what should you do next?

  choose the best answer:

  a. make bzimage

  b. make dep

  c. make clean

  d. make mrproper

  e. make xconfig

  15. what command will create the quota.user and quota.group files for me?

  choose the best answer:

  a. quotacheck -avug

  b. quotacheck -cugf

  c. quotacheck -rugf

  d. repquota -u

  e. none of the above

  16. you want to add a directory to all users paths. what file should you edit to do this?

  choose the best answer:

  a. /etc/sysconfig/profile

  b. /etc/sysconfig/profile

  c. /etc/bashrc

  d. /etc/profile

  e. /etc/env

  17. how can you turn off interface eth1?

  choose the best answer:

  a. service network stop

  b. service netork stop eth1

  c. ifstop eth1

  d. ifdown eth1

  e. ps -aux |grep eth1| kill `awk -f {$1}`

  18. you have linux installed on a machine and you use lilo as your boot loader. how do you boot into single user mode?

  choose all correct answers:

  a. wait for the machine to boot up then log in as root. use the init 2 command.

  b. at the lilo prompt use the linux single command.

  c. at the lilo prompt use the linux 1 command.

  d. at the lilo prompt use the linux command.

  e. linux only supports multi-user mode.

  19. your ip address is 10.0.0.2 and your subnet mask is 255.255.255.0. you have one ethernet card. you want to set your default gateway to be 10.0.0.1. which of the following is the correct syntax to accomplish this?

  choose the best answer:

  a. route add default 10.0.0.1 eth0

  b. route add default gw 10.0.0.1 dev eth0

  c. route add default gw 10.0.0.2 eth0 255.255.255.0

  d. route add default gw 10.0.0.2 /dev/eth0 255.255.255.0

  e. route add default gw 10.0.0.2 255.255.255.0

  20. what command do you use to edit quotas?

  choose the best answer:

  a. quotaconfig

  b. editquota

  c. quotaconfig

  d. edquota

  e. quotaeditor

相关TAG标签
上一篇:五十几道RHCE参考笔试试题(三)
下一篇:五十几道RHCE参考笔试试题(一)
相关文章
图文推荐

关于我们 | 联系我们 | 广告服务 | 投资合作 | 版权申明 | 在线帮助 | 网站地图 | 作品发布 | Vip技术培训 | 举报中心

版权所有: 红黑联盟--致力于做实用的IT技术学习网站