五十幾道RHCE參考筆試試題(五)

41. how do i immeadiately shut down a linux system?
choose the best answer:
a. turn off the monitor then turn off the cpu.
b. /sbin/stop
c. init 6
d. shutdown -h now
e. none of the above 

42. you have created a /home/projectfoo directory. how can you change its group ownership to the projectfoo group?
choose the best answer:
a. chmod g+rwx projectfoo /home/projectfoo
b. chown projectfoo /home/projectfoo
c. chgrp projectfoo /home/projectfoo
d. newgrp projectfoo /home/projectfoo
e. chown projectfoo.users /home/projectfoo 

43. what is the correct syntax to mount an ms dos formatted floppy disk (do not assume that there is an entry in /etc/fstab)?
choose the best answer:
a. mount /dev/floppy /mnt/fd0
b. mount -t iso9660 /dev/fd0 /mnt/floppy
c. mount -t vfat /dev/fd0 /mnt/floppy
d. mount -t msdos /dev/floppy /mnt/floppy
e. mdir 

44. how can you create a file of all your isa plug and play device settings?
choose the best answer:
a. pnpdump >; isapnp.conf
b. pnpdump -isa >; isapnp.conf
c. isadump >; isapnp.conf
d. cat /proc/isa
e. isaadmin --dump >;isapnp.conf 

45. you want to compile a new kernel. you have already compiled the kernel and modules. how do you install the modules?
choose the best answer:
a. make modules_install
b. make install
c. make modules
d. make install_modules
e. make bzimage 

46. where are source rpms installed?
choose the best answer:
a. /usr/src/linux/rpms/
b. /var/src/linux/rpm/
c. /var/rpm/src/
d. /var/linux/rpm/src/
e. /usr/src/redhat/ 

47. you have installed a dhcp server on your linux machine and edited the configuration file. what else must you do before it will give out ip addresses?
choose the best answer:
a. reboot
b. put fixed-addresses in the configuration for each client.
c. service dhcp begin
d. touch /var/lib/dhcp/dhcpd.leases
e. all of the above 

48. what directory contains the kernel?
choose the best answer:
a. /
b. /kernel
c. /etc
d. /boot
e. /var/log 

49. how can a user set up their own crontab entry?
choose the best answer:
a. vi ~/.crontab
b. cp /etc/crontab .
c. crontab -v
d. crontab -e
e. cron -edit 

50. the pcmcia card configuration file is read by cardmgr (8) at startup time. it defines what resources are available for use by card services describes how to load and initialize device drivers and describes specific pcmcia cards. where is this file located?
choose the best answer:
a. /etc/pcmcia/config.opts
b. /etc/sysconfig/pcmcia
c. /etc/config.pcmcia
d. /etc/pcmcia
e. /etc/pcmcia/config