Unix面试题(英文附答案)5_第1页
Unix面试题(英文附答案)5_第2页
Unix面试题(英文附答案)5_第3页
Unix面试题(英文附答案)5_第4页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、1Unix面试题(英文附答案)1问题:Unix 面试题(英文 附答案)1-7 回答:86. fork 系统调用能:把当前进程复制一份,产生一个新进程87. Which files are used to con figureTCP Wrappers/etc/hosts.allow and /etc/hosts.de ny88. /boot 目录用来存放 Linux 启动时所需要的一些数据和文 件,如果该目录被破坏,系统将不能够启动,缺省情况下该目录应能 由普通用户读写。:错误89. C 语言是 UNIX 环境中唯一能使用的语言。:错误90. MD5 passwords are enabled

2、by default on Linux in stallati ons.How many characters can a user s password bewhen using MD5 passwords : 25691. What program can be used to test the smb.c onf file forerrorsA. mountB. testC. samba -checkparmD. testparmE. smbfs2Explai n -p6:Expla nati on:the testparm program parses thesmb.c onf fil

3、e and reports any errors. If you make a typo this program islikely to find it.92. 用 ps x 命令会看到下面的输出:请问 init 后面的 3 是什么 意思说明 init 的状态值,他可能是 0-6。PID TTY STAT TIME COMMANDx S 0:01 in it 393. What file contains the con figurati on for BINDA. /etc/b in d.c onfB. /etc/ named.c onfC. /etc/d ns.c onfD. /var/

4、n amed/b in d.c onfExplai n -p11:Expla natio n:BIND (the Berkely In ter net NameDaem on) which is a DNS server is con figured in /etc/ named.c onf.94. You have created a /home/projectx directory with the owner ofprojectx and a group of projectx. How can you set its permissi ons so thatall files crea

5、ted in this directory are owned by the projectx group : :chmod g+s /home/projectx95. You have created a /home/projectfoo directory. Howcan you cha nge its group own ership to the projectfoo group:3chgrp projectfoo /home/projectfoo96. Which optio ns to chmod allow read access to all buton ly allow wr

6、ite and execute access to the owner:chmod 744 file name97.What comma nd allows you to switch from using Gnome tousing KDE : Switchdesk98. If you want to allow X-Wi ndows programs from hostBto run on the display on hostA what would you n eed to doA. run xhost +hostB on hostA.B. run xhost +hostA on ho

7、stB.C. run xhost + on hostA.D. run xhost + on hostB.E. just set the DISPLAY environmentvariable and it willwork.Explai n -p40:Expla nati on:You want programs from hostB todisplay on hostA. So you must tell hostA to allow Xclie nts from hostB.Hence A is correct. The xhost + comma nd is too broad and allowsanyone to connect to your X-server.9

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论