54SA.COM|专注于系统亚博亚洲官网app首页管理,为中国SA提供动力!
当前位置: 主页 > Linux > linux认证 >

题库:RHCE参考笔试试题

时间:2011-05-16 10:18来源:未知 编辑:admin

1.?What?file?do?I?edit?to?prevent?specific?users?from?accessing?an?ftp?server??
Choose?the?best?answer:?
A.?/etc/hosts.allow?
B.?/etc/hosts.deny?
C.?/etc/ftpacess?
D.?/etc/ftpusers?
E.?/etc/ftpd.conf??????????

2.?You?have?just?added?a?new?NFS?share?to?the?appropriate?file.?What?must?you?do?to?activate?the?share??
Choose?the?best?answer:?
A.?reboot?
B.?exportfs?-a?
C.?ndc?restart?
D.?server?nfs?start?
E.?mount?-A??????????

3.?What?does?the?-H?option?do?for?the?dhcpcd?program??
Choose?the?best?answer:?
A.?Sets?the?hostname?of?the?machine?to?the?name?provided?by?DHCP.?
B.?Kills?any?previous?version?of?the?dhcpcd?program?that?may?be?running.?
C.?Passes?the?machine?name?to?DHCP?as?part?of?the?DHCP?request.?
D.?Only?tries?to?get?a?new?ip?address?if?the?current?one?is?older?than?a?certain?number?of?hours.?
E.?None?of?the?above??????????

4.?What?command?will?map?all?of?the?dependencies?between?modules?into?a?file??
Choose?the?best?answer:?
A.?modmap?
B.?depmod?-a?
C.?depmod?--rebuild?
D.?modmap?--rebuild?
E.?modprobe?--rebuild??????????

5.?What?file?contains?the?list?of?terminals?that?root?is?allowed?to?log?into??
Choose?the?best?answer:?
A.?/etc/rooterm.conf?
B.?/etc/terminals?
C.?/etc/secure?
D.?/etc/tty.conf?
E.?/etc/securetty??????????

6.?How?do?you?install?an?RPM??
Choose?the?best?answer:?
A.?rpm?-evh?packagename.rpm?
B.?rpm?-ivh?packagename.rpm?
C.?rpm?-q?packagename.rpm?
D.?rpm?-qa?*.rpm?
E.?rpm?-ql?*.rpm??????????

7.?What?command?will?turn?off?the?ftpd?service?in?all?runlevels??
Choose?the?best?answer:?
A.?chkconfig?ftpd?off?
B.?rm?/etc/rc.d/init.d/*ftpd*?
C.?chkconfig?--levels?12345?ftpd?off?
D.?service?ftpd?stop?
E.?service?ftpd?stop?-persistant??????????

8.?What?file?would?you?edit?to?share?out?a?directory?via?NFS??
Choose?the?best?answer:?
A.?/etc/nfsd.conf?
B.?/etc/nsf?
C.?/etc/fstab?
D.?/etc/exports?
E.?/etc/export.conf??????????

9.?How?can?you?see?the?kernel?routing?table??
Choose?the?best?answer:?
A.?netstat?-Route?
B.?netstat?-rn?
C.?netstat?-an?
D.?route?show?default?gw?
E.?netstat??????????

10.?Sendmail?is?an?example?of?a(n):??
Choose?the?best?answer:?
A.?MTA?
B.?MUA?
C.?MDA?
D.?MLA?
E.?All?of?the?above????

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

[责任编辑:admin]

------分隔线----------------------------