五十几道RHCE参考笔试试题(二) .pdf
文本预览下载声明
五十几道 RHCE 参考笔试试题(二)
五十几道 RHCE 参考笔试试题(二)五十几道 RHCE 参考笔试
试题(二)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
1
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
2
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}`
3
18. you have linux installed on a machine and you use lilo
a
显示全部