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

UNIX

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资料。正确

同类其他面试题 点击新一篇或旧一篇可浏览全部同类面试题

新一篇:
旧一篇:

你有答案? 你对以上面试题有意见? 你想发表你的见解? 写下来吧!你的分享将会让很多人受益!

相关面试题

·unix时间戳与datetime类型时间之前的转换
·POSIX方面的知识
·Unix英文面试题
·Unix笔试题 Unix工程师
·介绍一下Unix的启动过程

版权声明:本站大部分内容为原创! 另有少部分内容整理于网络,如需转载本站内容或关切版权事宜请联系站长。未经允许,严禁复制转载本站内容,否则将追究法律责任。 本站欢迎与同类网站建立友情链接,请联系QQ:176687814