最近中文字幕完整版高清,宅男宅女精品国产av天堂,亚洲欧美日韩综合一区二区,最新色国产精品精品视频,中文字幕日韩欧美就去鲁

首頁 > 考試輔導(dǎo) > 計算機(jī)考試 > Linux認(rèn)證 > Linux試題集錦 > 五十幾道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         

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