Unix面试题(英文 附答案)1-6
66.?What file would you edit to share out a directory via NFS? :/etc/exports
67.?常用的单机备份工具有: tar?? cpio??? dump
68.?How many primary partitions can exist on an IDE hard drive ?? :4
69.?系统管理员对于磁盘的管理任务主要包括: 格式化磁盘??? 硬盘分区??? 建立合适的文件系统??? 安装成文件目录
70.?The ___ daemon listens for print jobs on a Linux system ?? :lpd
71.?如果命令在前台运行,那么用户在此进程结束前不能继续使用当前的shell。正确
72.?What command will turn off the ftpd service in all runlevels? :chkconfig -levels 12345 ftpd off
73.?与bg有关的命令是: fg?? 按Ctrl+Z键
74.?How do you enable quotas on a partition in /etc/fstab? :Add the usrquota and grpquota options.
75.?在UNIX系统中由那一部分解释命令行:外壳程序
76.?What file contains the configuration for the Network Time Protocol server? :/etc/ntp.conf
77.?Linux下配置内核的makefile提供了配置选项的方法有: make config??? make xconfig
make menuconfig???? make oldconfig
78.?You want to add a directory to all users paths. What file should you edit to do this??? /etc/profile
79.?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
E.?/etc/ftpd.conf
—————— Explain —————-
p41:Explanation: The /etc/ftpusers file lists users not allowed to FTP.
80.?In order to write a floppy image file caled ‘floppy.img' to a floppy in Linux ,which of the following commands would do so ?:dd if=floppy.img of=/dev/fd0 bs=1440K
81.?如果某个用户过长时间占用某个系统资源,系统管理员必须有相应的措施剥夺他的使用权,否则将会影响其他用户的使用,甚至导致系统的崩溃。 错误
82.?如果设置了map to guest=bad user则当用户提供了一个正确的用户名而密码不正确的情况下,用户将被映射成guest用户登录。:错误的
83.?用于UNIX用户间通讯的命令有: write??? mail
84.?为了从DOS下引导Linux需要做: :将内核拷贝到DOS分区? 将Linux安装到了物理分区 运行LoadLin实用程序
85.?Your IP address is 10.0.0.2 and your subnet mask is 255.255.255.0. You have one ethernet card. You want to set your default gateway to be 10.0.0.1. Which of the following is the correct syntax to accomplish this?
:route add default gw 10.0.0.2 eth0 255.255.255.0