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资料。正确
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值