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

文章作者 100test 发表时间 2007:03:14 16:06:39
来源 100Test.Com百考试题网


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


相关文章


五十几道RHCE参考笔试试题(三)
RedFlagLinuxRCE模拟试题(一)
RedFlagLinuxRCE模拟试题(三)
五十几道RHCE参考笔试试题(一)
五十几道RHCE参考笔试试题(二)
RedHat非正常关机的自动磁盘修复
RedHatLinux系统下口令恢复任我行
redflagLinux认证部分练习试题
RHCE辅导:RH253题库Topic#11系统任务自动化
澳大利亚华人论坛
考好网
日本华人论坛
华人移民留学论坛
英国华人论坛