首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

Unix面试题(英文 附答案)一-1

2013-11-08 
Unix面试题(英文 附答案)1-11.?unix 的 at 命令的功能是A作业调度2.?在Linux环境下lilo是:D引导程序。3.?ro

Unix面试题(英文 附答案)1-1
1.?unix 的 at 命令的功能是A作业调度
2.?在Linux环境下lilo是:D引导程序。
3.?root 用户在 /usr/bin 目录下执行命令 chmod +s * 会对系统造成的最可能的伤害是:系统会立刻崩溃
4.?Which files are used to configure TCP Wrappers?
A.?/etc/tcpwrapper and /etc/access.conf
B.?/etc/hosts.allow and /etc/hosts.deny
C.?/etc/tcpwrapper.conf and /etc/xinetd.conf
D.?/etc/access.conf and /etc/xinetd.conf
E.?/etc/tcpwrapper and /etc/access.conf
—————— Explain —————-
p46:Explanation: TCP Wrappers are configured in the /etc/hosts.allow and /etc/hosts.deny files.
5.?How do you enable quotas on a partition in /etc/fstab?
A: Add the enforcequotas option.
B: You don't. Quotas are turned on automatically when you install the quota rpm.
C: Add the quota option.
D: Add the usrquota and grpquota options.
E: You put a 1 in the last column.
—————— Explain —————-
p20:Explanation: To enable quotas on a partition you put the userquota and groupquota option in the options section for the partition in /etc/fstab.
6.?If you want to allow X-Windows programs from hostB to run on the display on hostA what would you need to do?
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.
—————— Explain —————-
p40:Explanation: You want programs from hostB to display on hostA. So you must tell hostA to allow Xclients from hostB. Hence A is correct. The xhost + command is too broad and allows anyone to connect to your X-server.
7.?How can you turn off interface eth1?
A.?service network stop
B.?service netork stop eth1
C.?ifstop eth1
D.?ifdown eth1
E.?ps -aux |grep eth1| kill `awk -f {$1}`
—————— Explain —————-
p42:Explanation: The ifdown eth1 command will turn off the eth1 interface. the service network stop command will stop all networking which is not what you want. The ifstop command does not exist. The last command is just nonsense.
8.?What command do you use to edit quotas?????? edquota
9.?系统管理员对于磁盘的管理任务主要包括:
格式化磁盘?????? 硬盘分区? 建立合适的文件系统??? 安装成文件目录
10.?UNIX系统具有以下特点:ABCD
A: 多用户B: 多进程C: 多处理机D: 多线程
11.?What program allows you to acess SMB shares using ftp-like commmands?
A.?Mount??? Smbftp????? Smbclient???? Smbmount
—————— Explain —————-
p1:Explanation: The smbclient program allows you to acess SMB shares using commands similar to FTP.
12.?What does the -N option do for the dhcpcd program?
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.
—————— Explain —————-
p53:Explanation: The -N option will an ALRM signal to dhcpcd,if it is already running, to cause it to attempt to renew it's lease.
使用SAMBA服务器,一般来说,可以提供:文件服务? 打印服务
13.?You have a text file named nytextfile . How would you sort the lines of the file in reverse alphabetical order ??? :C? sort -r mytextfile
14.?在smb.conf文件中有如下的表达%U,该表达的含义是:sambar的一个宏替换???? 当前会话使用的用户名
15.?You have created a /home/projectfoo directory. How can you change its group ownership to the projectfoo group?
A.?chmod g+rwx projectfoo /home/projectfoo
B.?chown projectfoo /home/projectfoo
C.?chgrp projectfoo /home/projectfoo
D.?newgrp projectfoo /home/projectfoo
—————— Explain —————-
p7:Explanation: The chgrp command sets the group ownership of a file or directory.

热点排行