日期:2014-05-16  浏览次数:20753 次

Unix面试题(英文 附答案)1-3
31.?/etc/passwd文件中有以下几行:
user1:x:1001:100::/usr/user1:/bin/sh
user2:x:1002:100::/usr/user2:/bin/sh
user3:x:1003:103::/usr/user3:/bin/sh
现在user1想把他的文件 tt 给user3看应使用下面那条命令:chmod o+r tt
32.?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?
A.?/etc/pcmcia/config.opts
B.?/etc/sysconfig/pcmcia
C.?/etc/config.pcmcia
D.?/etc/pcmcia
—————— Explain —————-
p38:Explanation: The card configuration file that contains specific PCMCIA files is /etc/pcmcia/config.opts.
33.?Where are kernel modules stored assuming you are using kernel version 2.4.16-9?
A: /lib/redhat/modules/2.4.16-9
B: /lib
C: /lib/modules/2.4.16-9
D: /lib/modules
—————— Explain —————-
p22:Explanation: kernel modules are stored in /lib/modules/.
What command do you use to edit the default grace period for quotas? D :edquota –t
34.?dos 下的命令:copy \sx\*.*? 在unix下应该表示为: cp /sx/* .
35.?How do I immeadiately shut down a Linux system? D: shutdown -h now
36.?You want to compile a new kernel. You have just run? __A_ to check the depended files. :make bzImage
37.?一个UNIX系统有15个终端,分别放置在15间办公室,欲知道某办公室里是否有人(何人)在使用该UNIX系统,使用下面那条命令: who
38.?What file do I edit to prevent specific users from accessing an ftp server?
A.?/etc/hosts.allow
B.?/etc/hosts.deny
C.?/etc/ftpacess
D.?/etc/ftpusers
—————— Explain —————-
p41:Explanation: The /etc/ftpusers file lists users not allowed to FTP.
39.?UNIX系统中可按条件查找文件的命令有A: find?? C: grep??? D: ls
40.?使用hostname命令可以帮助我们收集主机ID资料。正确