




已閱讀5頁,還剩11頁未讀, 繼續(xù)免費閱讀
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
1. What file do I edit to prevent specific users from accessing an ftp server? Choose the best answer:A. /etc/hosts.allowB. /etc/hosts.denyC. /etc/ftpacessD. /etc/ftpusersE. /etc/ftpd.conf2. 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. rebootB. exportfs -aC. ndc restartD. server nfs startE. mount -A3. 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 above4. What command will map all of the dependencies between modules into a file?Choose the best answer:A. modmapB. depmod -aC. depmod -rebuildD. modmap -rebuildE. modprobe -rebuild5. What file contains the list of terminals that root is allowed to log into?Choose the best answer:A. /etc/rooterm.confB. /etc/terminalsC. /etc/secureD. /etc/tty.confE. /etc/securetty6. How do you install an RPM?Choose the best answer:A. rpm -evh packagename.rpmB. rpm -ivh packagename.rpmC. rpm -q packagename.rpmD. rpm -qa *.rpmE. rpm -ql *.rpm7. What command will turn off the ftpd service in all runlevels?Choose the best answer:A. chkconfig ftpd offB. rm /etc/rc.d/init.d/*ftpd*C. chkconfig -levels 12345 ftpd offD. service ftpd stopE. service ftpd stop -persistant8. What file would you edit to share out a directory via NFS?Choose the best answer:A. /etc/nfsd.confB. /etc/nsfC. /etc/fstabD. /etc/exportsE. /etc/export.conf9. How can you see the kernel routing table?Choose the best answer:A. netstat -RouteB. netstat -rnC. netstat -anD. route show default gwE. netstat10. Sendmail is an example of a(n):?Choose the best answer:A. MTAB. MUAC. MDAD. MLAE. All of the above11. What command can you enter to find out which rpm contains the /etc/foo file? Choose the best answer:A. rpm -qa |grep fooB. rpm -ql /etc/fooC. rpm -qlf /etc/fooD. rpm -q -f /etc/fooE. man foo12. How can I see what directories are being shared via NFS on a remote host called fileserver?Choose the best answer:A. ping fileserverB. mount -a -t NFS fileserverC. showmount -e fileserverD. nfstalk -query fileserverE. None of the above13. What command do you use to edit the default grace period for quotas?Choose the best answer:A. quotaconfig -gB. editquota -gC. quotaconfig -tD. edquota -tE. quotaeditor -grace14. You want to compile a new kernel. You have just run make dep. What should you do next?Choose the best answer:A. make bzImageB. make depC. make cleanD. make mrproperE. make xconfig15. What command will create the quota.user and quota.group files for me?Choose the best answer:A. quotacheck -avugB. quotacheck -cugfC. quotacheck -rugfD. repquota -uE. none of the above16. 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/profileB. /etc/sysconfig/profileC. /etc/bashrcD. /etc/profileE. /etc/env17. How can you turn off interface eth1?Choose the best answer:A. service network stopB. service netork stop eth1C. ifstop eth1D. ifdown eth1E. ps -aux |grep eth1| kill awk -f $118. 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 and your subnet mask is . You have one ethernet card. You want to set your default gateway to be . Which of the following is the correct syntax to accomplish this?Choose the best answer:A. route add default eth0B. route add default gw dev eth0C. route add default gw eth0 D. route add default gw /dev/eth0 E. route add default gw 20. What command do you use to edit quotas?Choose the best answer:A. quotaconfigB. editquotaC. quotaconfigD. edquotaE. quotaeditor21. If you want to allow X-Windows programs from hostB to run on the display on hostA what would you need to do? Choose the best answer:A. run xhost +hostB on hostA.B. run xhost +hostA on hostB.C. run xhost + on hostA.D. run xhost + on hostB.E. just set the DISPLAY environment variable and it will work.22. What port does the Squid proxy server use by default?Choose the best answer:A. 80B. 1080C. 3028D. 3128E. 808023. What program can be used to test the smb.conf file for errors?Choose the best answer:A. mountB. testC. samba -checkparmD. testparmE. smbfs24. What file contains the configuration for the Network Time Protocol server?Choose the best answer:A. /etc/ntp.confB. /etc/xntp.confC. /etc/NTPD. /etc/time.confE. /etc/timeserver.conf25. You have created a /home/projectx directory with the owner of projectx and a group of projectx. How can you set its permissions so that all files created in this directory are owned by the projectx group?Choose the best answer:A. chown jextx /home/projectxB. chgrp projectx /home/projectxC. chmod 755 /home/projectxD. chmod g-s /home/projectxE. chmod g+s /home/projectx26. What program allows you to acess SMB shares using ftp-like commmands?Choose the best answer:A. mountB. smbftpC. smbclientD. smbmountE. samba27. What does the -N option do for the dhcpcd program?Choose the best answer:A. Sets the hostname of the machine to the name provided by DHCP.B. If the dhcpcd server is already running then it sends it an ALRM signal to get it to renew its lease.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 above28. Where are kernel modules stored assuming you are using kernel version 2.4.16-9?Choose the best answer:A. /lib/redhat/modules/2.4.16-9B. /libC. /lib/modules/2.4.16-9D. /lib/modulesE. /usr/lib/modules/29. What does the following cron entry do?10 5 * * * /bin/fooChoose the best answer:A. runs /bin/foo every 10 minutes 5 days a weekB. runs /bin/foo at 10:05 AM every dayC. runs /bin/foo on the 10th of May every yearD. runs /bin/foo at 5:10 AM every dayE. none of the above30. What directory contains the DNS zone files?Choose the best answer:A. /etc/bind/B. /etc/named/C. /etc/bind.dD. /var/namedE. /var/bind.d31. You want to compile a new kernel. You have just run make xconfig. What should you do next? Choose the best answer:A. make bzImageB. make depC. make cleanD. make mrproperE. make xconfig32. What file contains the configuration for BIND?Choose the best answer:A. /etc/bind.confB. /etc/named.confC. /etc/dns.confD. /var/named/bind.confE. /var/named.conf33. How can you find out which ports are being used?Choose the best answer:A. ifconfig -aB. netstat -aC. netstat -rnD. portsE. cat /etc/services34. You install Linux and reboot your machine and you see only L instead of the expected LILO. What is wrong?Choose the best answer:A. Lilo did not load at all.B. The first stage boot loader loaded but not the second stage.C. The descriptor table is corrupt.D. The second stage boot loader loaded at an incorrect addressE. Nothing is wrong.35. 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/fd0B. mount -t iso9660 /dev/fd0 /mnt/floppyC. mount -t vfat /dev/fd0 /mnt/floppyD. mount -t msdos /dev/floppy /mnt/floppyE. mdir36. Which option can not be specified to a Client using the DHCP protocol?Choose the best answer:A. default gatewayB. primary WINS serverC. subnet maskD. web proxy serverE. IP address37. Which options to chmod allow read access to all but only allow write and execute access to the owner?Choose the best answer:A. chmod 777 filenameB. chmod 700 filenameC. chmod 744 filenameD. chmod 447 filenameE. chmod 775 filename38. You are configuring a Linux DHCP server. You have it setup and working (as Linux clients are getting ip addresses from the DHCP server fine) but some Windows 95 clients are not getting ip addresses properly from your DHCP server. What do you need to do?Choose the best answer:A. route add -host 55 dev eth0B. route add -net 55 dev eth0C. service dhcp restartD. touch /var/state/leasesE. Windows 95 is not compatible with a Linux DHCP server.39. What command allows you to switch from using Gnome to using KDE?Choose the best answer:A. XconfiguratorB. XsetupC. XwindowconfigD. switchdeskE. videocfg40. What file do you edit to set the default runlevel?Choose the best answer:A. /etc/grub.confB. /etc/lilo.confC. either A or BD. /etc/inittabE. /etc/runlevel41. 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/stopC. init 6D. shutdown -h now E. None of the above42. 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/projectfooB. chown projectfoo /home/projectfooC. chgrp projectfoo /home/projectfooD. newgrp projectfoo /home/projectfooE. chown projectfoo.users /home/projectfoo43. 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/fd0B. mount -t iso9660 /dev/fd0 /mnt/floppyC. mount -t vfat /dev/fd0 /mnt/floppyD. mount -t msdos /dev/floppy /mnt/floppyE. mdir44. How can you create a file of all your ISA plug and play device settings?Choose the best answer:A. pnpdump %26gt; isapnp.confB. pnpdump -isa %26gt; isapnp.confC. isadump %26gt; isapnp.confD. cat /proc/isaE. isaadmin -dump %26gt;isapnp.conf45. 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_installB. make installC. make modulesD. make install_module
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 青春期生理心理健康
- 感染性休克并發(fā)癥及防治策略
- 大學(xué)生心理健康建設(shè)課件
- 大班健康課:健康過春天
- 健康講堂微量元素專題
- 小班健康領(lǐng)域說課稿設(shè)計
- 氧氣霧化吸入健康教育
- 胎盤臍帶異常超聲診斷
- 預(yù)防脊柱彎曲健康教育
- 酒店房間設(shè)計
- 2025春季學(xué)期國開電大??啤缎姓M織學(xué)》一平臺在線形考(形考任務(wù)1至5)試題及答案
- JGT266-2011 泡沫混凝土標(biāo)準(zhǔn)規(guī)范
- JJF 1105-2018觸針式表面粗糙度測量儀校準(zhǔn)規(guī)范
- GB/T 9444-2019鑄鋼鑄鐵件磁粉檢測
- GB/T 7723-2002固定式電子秤
- GB/T 19844-2005鋼板彈簧
- GB/T 14486-2008塑料模塑件尺寸公差
- 特種設(shè)備管理臺帳(5個臺賬)
- 地裂縫、地面塌陷地質(zhì)災(zāi)害危險性評估課件
- 電力拖動自動控制系統(tǒng)-運動控制系統(tǒng)(第5版)習(xí)題答案
- 魚丸生產(chǎn)加工項目可行性研究報告
評論
0/150
提交評論