当前位置:文档之家› linux考试第4部份

linux考试第4部份

Which option can not be specified to a Client using the DHCP protocol?

1 default gateway
2 primary WINS server
3 subnet mask
4 web proxy server
5 IP address
正确答案:4
提示:p55:Explanation: You can specify all of the above except the address of the web proxy server via DHCP.
You have a Linux machine that does not have X-Windows configured. What command can you use to find out what kind of graphics card it has?

1 Xsetup
2 cat /proc/video
3 SuperProbe
4 Xfind
5 videocfg
正确答案:2
提示:p8:Explanation: The SuperProbe program is used to find information about your graphics card.
What directory contains the DNS zone files?

1 /etc/bind.d
2 /etc/named/
3 /etc/bind/
4 /var/named
5 /var/bind.d
正确答案:4
提示:p44:Explanation: The zone files are stored in /var/named by default. The location of this directory is specified in /etc/named.conf.
Which installation class will automatically delete all of your DOS partitions?

1 Workstation
2 Server
3 Custom
4 Laptop
5 All of the above
正确答案:4
提示:p45:Explanation: The Server installation class will automatically delete all DOS partitions. The workstation class will use availiable free space. The laptop class is very similar to the workstation class (but for laptops.)
unix 的 at 命令的功能是

1 作业调度
2 进程调度
3 用户管理
4 存储管理
正确答案:1
提示:s15
为了给系统中增加一个新用户,我们可以使用________方式:
1 useradd
2 adduser
3 linuxconf
4 webmin
正确答案:3214
提示:rf_mx3:ABCD
What command will turn off the ftpd service in all runlevels?

1 service ftpd stop
2 rm /etc/rc.d/init.d/*ftpd*
3 chkconfig ftpd off
4 chkconfig --levels 12345 ftpd off
5 service ftpd stop -persistant
正确答案:3
提示:p5:Explanation: The chkconfig command is used to do this. You should also know how to use ntsysv.
What does the -N option do for the dhcpcd program?

1 Sets the hostname of the machine to the name provided by DHCP.
2 Only tries to get a new ip address if the current one is older than a certain number of hours.
3 Passes the machine name to DHCP as part of the DHCP request.
4 If the dhcpcd server is already running then it sends it an ALRM signal to get it to renew its lease.
5 None of the above
正确答案:2
提示: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.
You have created a /home/projectx directory with the owner of projectx and a group of projectx. How can you set its permissions so that all files created in this directory are owned by the projectx group?

1 C: chmod 755 /home/projectx
2 B: chgrp projectx /home/projectx
3 A: chown projectx.projextx /home/projectx
4 D: chmod g-s /home/projectx
5 E: chmod g+s /home/projectx
正确答案:5
提示:p23:
使用hostname命令可

以帮助我们收集主机ID资料。
1 错误
2 正确
正确答案:2
提示:rx3:T
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?

1 /etc/sysconfig/pcmcia
2 /etc/pcmcia
3 /etc/config.pcmcia
4 /etc/pcmcia/config.opts
5 /etc/pcmcia/config
正确答案:1
提示:p38:Explanation: The card configuration file that contains specific PCMCIA files is /etc/pcmcia/config.opts.
In order to write a floppy image file caled 'floppy.img' to a floppy in Linux ,which of the following commands would do so ?
1 write _image folppy.img
2 rawrite.exe floppy.img
3 dd if=/dev/fd0 of=floppy.img bs=1440K
4 dd if=floppy.img of=/dev/fd0 bs=1440K
正确答案:4
提示:s37
You have created a /home/projectfoo directory. How can you change its group ownership to the projectfoo group?

1 chmod g+rwx projectfoo /home/projectfoo
2 chgrp projectfoo /home/projectfoo
3 newgrp projectfoo /home/projectfoo
4 chown projectfoo /home/projectfoo
5 chown https://www.doczj.com/doc/d76439622.html,ers /home/projectfoo
正确答案:3
提示:p7:Explanation: The chgrp command sets the group ownership of a file or directory.
脚本/etc/rc.d/rc.local,通常运行在启动运行等级 _________之后。
1 3
2 2
3 4
4 5
正确答案:24
提示:rf_mx1:BD
我们可以订阅新闻组、加入新闻列表获得最新的Linux资料。
1 错误
2 正确
正确答案:2
提示:rx4:T
How can you turn off interface eth1?

1 ifdown eth1
2 service netork stop eth1
3 ifstop eth1
4 service network stop
5 ps -aux |grep eth1| kill `awk -f {$1}`
正确答案:4
提示: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.
Which options to chmod allow read access to all but only allow write and execute access to the owner?
1 chmod 777 filename
2 chmod 700 filename
3 chmod 447 filename
4 chmod 744 filename
5 chmod 775 filename
正确答案:3
提示:p3:Explanation: A is wrong because it allows read write and execute to everyone. B is wrong because it does not allow read access to everyone. C is correct. D is wrong because it allows write acess to everyone. E is wrong because it allows write access to the group.
想知道系统哪个进程占用的cpu时间最多用下列哪个命令:

1 cu
2 top
3 vmstat
4 free
正确答案:2
提示:s24
The ___ daemon listens for print jobs on a Linux system ?
1 lprint
2 lpd
3 lpr
4 lprinter
正确答案:1
提示:s31
UINX是唯一的一种超过90%用高级语言开发的操作系统,首次用于开发unix的语言是。

1 c语言
2 lisp语言
3 pascal语言


4 fortran语言
正确答案:3
提示:s1
使用SAMBA服务器,一般来说,可以提供:
1 文件服务
2 打印服务
3 域名服务
4 IP地址解析
正确答案:23
提示:rf_mx5:BC
Linux 中 /usr/bin/bc 是

1 C语言的变种
2 Borland C for Linux
3 一种用于高精度计算的语言
4 Linux 下的 ANSI C 语言
正确答案:2
提示:s17
UNIX系统具有以下特点:

1 C: 多处理机
2 B: 多进程
3 A: 多用户
4 D: 多线程
正确答案:2134
提示:s9
Standard input(stdin) is referenced by what number ?
1 3
2 2
3 1
4 0
正确答案:4
提示:s34
alias 命令的功能是

1 指定目录的别名
2 指定主机的别名
3 指定用户的别名
4 指定命令的别名
正确答案:4
提示:s16
dos 下的命令:copy \sx\*.* 在unix下应该表示为:

1 cp /sx/*
2 cp /sx/*.* .
3 cp /sx/*.*
4 cp /sx/* .
正确答案:4
提示:s21
What file contains the configuration for the Network Time Protocol server?

1 /etc/NTP
2 /etc/time.conf
3 /etc/xntp.conf
4 /etc/ntp.conf
5 /etc/timeserver.conf
正确答案:1
提示:p4:Explanation: The XNTP server is configured in /etc/ntp.conf.
想知道文件系统可用的空间还有多少,应该用下列哪个命令:

1 df
2 vmstat
3 top
4 free
正确答案:2
提示:s23
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?

1 route add default gw 10.0.0.2 /dev/eth0 255.255.255.0
2 route add default 10.0.0.1 eth0
3 route add default gw 10.0.0.2 eth0 255.255.255.0
4 route add default gw 10.0.0.1 dev eth0
5 route add default gw 10.0.0.2 255.255.255.0
正确答案:3
提示:p29:Explanation: A and B don't set the proper subnet mask. C is correct. D's syntax is wrong. E's syntax is wrong.
如果某个用户过长时间占用某个系统资源,系统管理员必须有相应的措施剥夺他的使用权,否则将会影响其他用户的使用,甚至导致系统 的崩溃。
1 正确
2 错误
正确答案:2
提示:rx2:F
What directory contains the kernel?

1 /etc
2 /boot
3 /
4 /kernel
5 /var/log
正确答案:4
提示:p13:Explanation: The Kernel is in /boot.
What is the correct syntax to mount an MS DOS formatted floppy disk (do not assume that there is an entry in /etc/fstab)?

1 mount /dev/floppy /mnt/fd0
2 mount -t iso9660 /dev/fd0 /mnt/floppy
3 mount -t vfat /dev/fd0 /mnt/floppy
4 mount -t msdos /dev/floppy /mnt/floppy
5 mdir
正确答案:3
提示:p37:Explanation: A will only work if there is an entry in /etc/fstab. B is wrong because iso9660 is for CDROM's. C is correct. D is wrong becuase the device should be /dev/fd0 rather than /dev/floppy.
What command do you use to edit the default grace period for quotas?

1 D: edquota -

t
2 C: quotaconfig -t
3 A: quotaconfig -g
4 B: editquota -g
5 E: quotaeditor --grace
正确答案:4
提示:p24:Explanation: You use the edquota command to edit quotas. For example you can say edquota -u username to edit a specific user's quota. Or you can type edquota -g to set a quota for a group. You can say edquota -t to set up grace periods.
为了从DOS下引导Linux需要做:
1 运行LoadLin实用程序
2 将Linux安装到了物理分区
3 将内核拷贝到DOS分区
4 安装Lilo
正确答案:123
提示:rf_mx7:ABC
What file do I edit to prevent specific users from accessing an ftp server?

1 /etc/hosts.deny
2 /etc/ftpusers
3 /etc/ftpacess
4 /etc/hosts.allow
5 /etc/ftpd.conf
正确答案:4
提示:p41:Explanation: The /etc/ftpusers file lists users not allowed to FTP.
What command do you use to edit quotas?

1 editquota
2 quotaconfig
3 edquota
4 quotaconfig
5 quotaeditor
正确答案:4
提示:p52:Explanation: You use the edquota command to edit quotas. For example you can say edquota -u username to edit a specific user's quota. Or you can type edquota -g to set a quota for a group. You can say edquota -t to set up grace periods.
为匹配任意的单词,我们可以使用_______正则表达式:
1 [ A-Z a-z ]*
2 ^*[A-Z a-z]
3 [ A-Z a-z ]+
4 *
正确答案:134
提示:rf_mx10:ACD
一个UNIX系统有15个终端,分别放置在15间办公室,欲知道某办公室里是否有人(何人)在使用该UNIX系统,使用下面那条命令:

1 who
2 ps
3 ls
4 find
正确答案:3
提示:s4
What file contains the configuration for BIND?

1 /etc/bind.conf
2 /etc/dns.conf
3 /etc/named.conf
4 /var/named/bind.conf
5 /var/named.conf
正确答案:2
提示:p11:Explanation: BIND (the Berkely Internet Name Daemon) which is a DNS server is configured in /etc/named.conf.
You have just added a new NFS share to the appropriate file. What must you do to activate the share?

1 ndc restart
2 reboot
3 server nfs start
4 exportfs -a
5 mount -A
正确答案:2
提示:p30:Explanation: To share a directory via NFS you must edit the /etc/exports file and then run exportfs -a.
Sendmail is an example of a(n):?

1 MTA
2 MUA
3 MLA
4 MDA
5 All of the above
正确答案:1
提示:p36:Explanation: Only A is correct. Sendmail is an MTA
root 用户在 /usr/bin 目录下执行命令 chmod +s * 会对系统造成的最可能的伤害是:

1 过多消耗系统可用内存,影响系统性能
2 系统会立刻崩溃
3 对系统安全性造成伤害,使入侵变得容易
4 没有什么伤害
正确答案:2
提示:s25
/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看应使用下面那条命令:

1 cp tt /usr/user3
2 chmod g+r tt
3

chmod o+r tt
4 cat tt
正确答案:2
提示:s6
You have just added a new NFS share to the appropriate file. What must you do to activate the share?

1 exportfs -a
2 reboot
3 ndc restart
4 server nfs start
5 mount -A
正确答案:2
提示:p56:Explanation: To share a directory via NFS you must edit the /etc/exports file and then run exportfs -a.
How can I see what directories are being shared via NFS on a remote host called fileserver?

1 ping fileserver
2 showmount -e fileserver
3 mount -a -t NFS fileserver
4 nfstalk --query fileserver
5 None of the above
正确答案:3
提示:p28:Explanation: Only C is right!
exec系统调用能

1 把当前进程复制一份
2 产生一个新进程
3 用新程序的内容替代当前进程的内容
4 更改当前进程的pid
正确答案:3
提示:s27
Where are source RPMs installed?

1 /usr/src/linux/rpms/
2 /var/rpm/src/
3 /var/src/linux/rpm/
4 /var/linux/rpm/src/
5 /usr/src/redhat/
正确答案:5
提示:p15:Explanation: Source RPMs are installed in /usr/src/redhat. There are 5 subdirectories under there. SOURCES contains the original source code. SPECS contains the specification files that control the RPM build process. BUILD is where source code is uncompressed and built. SRPMS contains the source RPM that is created when you build one.
Linux is a(n) _______ operation system, meaning the source code is freely available.
1 closed source
2 open sourced
3 open binary
4 user licensed
正确答案:2
提示:s30
How can you create a file of all your ISA plug and play device settings?

1 pnpdump > isapnp.conf
2 cat /proc/isa
3 isadump > isapnp.conf
4 pnpdump -isa > isapnp.conf
5 isaadmin --dump >isapnp.conf
正确答案:1
提示:p12:Explanation: Only A is right
与bg有关的命令是:

1 A: grep
2 C: 按Ctrl+Z键
3 B: fg
4 D: 按Ctrl+C键
正确答案:23
提示:s18
You are configuring a Linux DHCP server. You have it setup and working (as Linux clients are getting ip addresses from the DHCP server fine) but some Windows 95 clients are not getting ip addresses properly from your DHCP server. What do you need to do?

1 A: route add -host 255.255.255.255 dev eth0
2 C: service dhcp restart
3 B: route add -net 255.255.255.255 dev eth0
4 D: touch /var/state/leases
5 E: Windows 95 is not compatible with a Linux DHCP server.
正确答案:1
提示:p19:Explanation: Windows 95 insists that the DHCPOFFER messages be sent to 255.255.255.255. Linux will send them to the broadcast address instead. Adding a host entry for the host 255.255.255.255 will trick Linux into working with the Windows 95 clients.
/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
用户user2对下一文件有何权力:
-rw-r----- 1 user1 100 1320 Oct 27 08:16 test

1 无权
2 读
3 读写

正确答案:2
提示:s7
You want to compile a new kernel. You have just run ___ to check the depended files.

1 make mrproper
2 make dep
3 make bzImage
4 make clean
5 make xconfig
正确答案:2
提示:p48:
How do I immeadiately shut down a Linux system?

1 B: /sbin/stop
2 A: Turn off the monitor then turn off the CPU.
3 C: init 6
4 D: shutdown -h now
5 E: None of the above
正确答案:4
提示:p17:Explanation: A is wrong because you should always gracefully shut down a machine. B is wrong because there is no such command. C is wrong becauuse it will reboot the machine. Hence D is correct.
C语言是UNIX环境中唯一能使用的语言。

1 正确
2 错误
正确答案:2
提示:s2
如果设置了map to guest=bad user则当用户提供了一个正确的用户名而密码不正确的情况下,用户将被映射成guest用户登录。
1 错误
2 正确
正确答案:1
提示:rx6:F
常用的单机备份工具有:
1 tar
2 dump
3 cpio
4 nis
正确答案:123
提示:rf_mx8:ABC
Where are kernel modules stored assuming you are using kernel version 2.4.16-9?

1 C: /lib/modules/2.4.16-9
2 D: /lib/modules
3 A: /lib/redhat/modules/2.4.16-9
4 B: /lib
5 E: /usr/lib/modules/
正确答案:3
提示:p22:Explanation: kernel modules are stored in /lib/modules/.
If you want to allow X-Windows programs from hostB to run on the display on hostA what would you need to do?

1 run xhost + on hostB.
2 run xhost + on hostA.
3 run xhost +hostB on hostA.
4 run xhost +hostA on hostB.
5 just set the DISPLAY environment variable and it will work.
正确答案:1
提示: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.
How many primary partitions can exist on an IDE hard drive ?
1 2
2 16
3 4
4 64
正确答案:2
提示:s36
Which files are used to configure TCP Wrappers?

1 /etc/tcpwrapper.conf and /etc/hosts.conf
2 /etc/hosts.allow and /etc/hosts.deny
3 /etc/tcpwrapper.conf and /etc/xinetd.conf
4 /etc/access.conf and /etc/xinetd.conf
5 /etc/tcpwrapper and /etc/access.conf
正确答案:2
提示:p46:Explanation: TCP Wrappers are configured in the /etc/hosts.allow and /etc/hosts.deny files.
You want to compile a new kernel. You have already compiled the kernel and modules. How do you install the modules?

1 make install
2 make modules_install
3 make install_modules
4 make modules
5 make bzImage
正确答案:1
提示:p47:
用ps x命令会看到下面的输出:请问init后面的3是什么意思?
PID TTY STAT TIME COMMAND
x ? S 0:01 init [3]

1 说明内存中有3分init拷贝。
2 说明init的状态值,他可能是0-6。
3 说明init是第3次启动。
4 没有什么特别的含义
正确答案:1
提示

:s26
有关管道,以下论述正确的是:

1 A: 是一种文件。
2 C: 是进程间的一根"管子",他把数据按先进先出的原则传送。
3 B: 是一种设备。
4 D: 对管道的操作与文件操作完全相同。
正确答案:324
提示:s12
在Linux环境下lilo是:

1 一个命令。
2 一个模块。
3 内核的一部分。
4 引导程序。
正确答案:4
提示:s14
What program allows you to acess SMB shares using ftp-like commmands?

1 mount
2 smbclient
3 smbftp
4 smbmount
5 samba
正确答案:3
提示:p1:Explanation: The smbclient program allows you to acess SMB shares using commands similar to FTP.
In the vi editor , what command will undo the last (previous) command ?
1 undo
2 u
3 un
4 M
5 none of the above
正确答案:4
提示:s39
How can you see the kernel routing table?

1 netstat -an
2 route show default gw
3 netstat -Route
4 netstat -rn
5 netstat
正确答案:2
提示:p34:Explanation: The netstat -rn command shows the kernel routing table.
cu 是

1 cp的辅助命令
2 远程登陆用的命令
3 cut命令的简称
4 用户管理用的命令
正确答案:2
提示:s20
What is the correct syntax to mount an MS DOS formatted floppy disk (do not assume that there is an entry in /etc/fstab)?

1 mount -t iso9660 /dev/fd0 /mnt/floppy
2 mount -t msdos /dev/floppy /mnt/floppy
3 mount -t vfat /dev/fd0 /mnt/floppy
4 mount /dev/floppy /mnt/fd0
5 mdir
正确答案:3
提示:p54:Explanation: A will only work if there is an entry in /etc/fstab. B is wrong because iso9660 is for CDROM's. C is correct. D is wrong becuase the device should be /dev/fd0 rather than /dev/floppy.
系统管理员对于磁盘的管理任务主要包括:
1 硬盘分区
2 格式化磁盘
3 建立合适的文件系统
4 安装成文件目录
正确答案:3124
提示:rf_mx6:ABCD
MD5 passwords are enabled by default on Linux installations. How many characters can a user's password be when using MD5 passwords ?
1 8
2 64
3 32
4 256
正确答案:4
提示:s38
What port does the Squid proxy server use by default?

1 B: 1080
2 C: 3028
3 D: 3128
4 A: 80
5 E: 8080
正确答案:4
提示:p18:Explanation: D is right!
/分区越大约好,因为/越大,Linux启动速度越快。
1 错误
2 正确
正确答案:1
提示:rx7:F
UNIX系统把物理设备作为文件来看待,以下哪一文件是本系统合法的设备文件:

1 /dev/hd1
2 /dev/ram
3 /dev/a
4 /dev/driver
正确答案:3
提示:s3
在Linux下按键会重新启动计算机,这是因为:

1 在inittab中有这样的指令。
2 shell的能力。
3 在内核中包含了该功能。
4 硬件的能力。
正确答案:1
提示:s8
How can a user set up their own crontab entry?

1 crontab -e
2 crontab -v
3 cp /etc/crontab .
4 vi ~/.crontab
5 cron -edit

正确答案:4
提示:p2:Explanation: The crontab -e command is used to edit your own crontab.
You have a text file named nytextfile . How would you sort the lines of the file in reverse alphabetical order ?
1 sort mytextfile
2 sort -a mytextfile
3 sort -r mytextfile
4 sort -ra mytextfile
正确答案:3
提示:s33
You want to add a directory to all users paths. What file should you edit to do this?

1 B: /etc/sysconfig/profile
2 D: /etc/profile
3 C: /etc/bashrc
4 A: /etc/sysconfig/profile
5 E: /etc/env
正确答案:4
提示:p21:Explanation: The /etc/profile script is used for system-wide enviornment variables and startup files. You could also create a new file in /etc/profile.d/ that ends in .sh and set the enviornment variable in there. Keep in mind that not all users will necessarily use bash.
You have Linux installed on a machine and you use LILO as your boot loader. How do you boot into single user mode?

1 B: At the LILO prompt use the linux single command.
2 D: At the LILO prompt use the linux command.
3 C: At the LILO prompt use the linux 1 command.
4 A: Wait for the machine to boot up then log in as root. Use the init 2 command.
5 E: Linux only supports multi-user mode.
正确答案:23
提示:p16:Explanation: Either linux single or linux 1 will work at the LILO prompt. A will not work because single user mode is runlevel 1. D will only work if the default runlevel in /etc/inittab is set to 1 (which it is not normally.)
You want to compile a new kernel. You have just run

1 make dep
2 make clean
3 make bzImage
4 make mrproper
5 make xconfig
正确答案:1
提示:p26:
UNIX系统中可按条件查找文件的命令有:

1 C: grep
2 A: find
3 B: cat
4 D: ls
正确答案:134
提示:s10
在 unix 下格式化磁盘的命令是

1 mkdisk
2 fdisk
3 format
4 mkfs
正确答案:4
提示:s28
Who is the individual most responsible for the development of Linux ?
1 Bill Gates
2 Linus Torvalds
3 Linux Torvalds
4 Linus Tormalds
正确答案:3
提示:s35
What command will map all of the dependencies between modules into a file?

1 depmod --rebuild
2 modmap --rebuild
3 depmod -a
4 modmap
5 modprobe --rebuild
正确答案:2
提示:p51:Explanation: The depmod -a command finds all the dependcies betwen modules and puts the information in the modules.dep file.
What does the following cron entry do?
10 5 * * * /bin/foo

1 runs /bin/foo on the 10th of May every year
2 runs /bin/foo every 10 minutes 5 days a week
3 runs /bin/foo at 5:10 AM every day
4 runs /bin/foo at 10:05 AM every day
5 none of the above
正确答案:4
提示:p35:Explanation: The fields are: minute hour day of month month day of week command
在UNIX系统中由那一部分解释命令行:

1 应用系统
2 内核
3 外壳程序
4 编译程序
正确答案:3
提示:s5
How do you install an RPM?

1 rpm -evh pac

kagename.rpm
2 rpm -ivh packagename.rpm
3 rpm -q packagename.rpm
4 rpm -qa *.rpm
5 rpm -ql *.rpm
正确答案:2
提示:p10:Explanation: A is wrong because the -e option is for uninstalling. B is right. C D and E are wrong because the -q option is for querrying.
在smb.conf文件中有如下的表达%U,该表达的含义是:
1 当前服务使用的用户名
2 当前会话使用的用户名
3 sambar的一个宏替换
4 客户机的NetBIOS名
正确答案:23
提示:rf_mx4:BC
How can you find the path to your history file ?
1 type show HISTFILE
2 type show $PATH
3 type show PATH
4 type show HISTORY
5 type echo $HISTFILE
正确答案:5
提示:s32
想知道系统现在的可用的内存空间还有多少,应该用下列哪个命令:

1 nice
2 mem
3 df
4 free
正确答案:4
提示:s22
用于UNIX用户间通讯的命令有:

1 A: echo
2 B: cat
3 C: write
4 D: mail
正确答案:34
提示:s11
What command allows you to switch from using Gnome to using KDE?

1 Xsetup
2 switchdesk
3 Xconfigurator
4 Xwindowconfig
5 videocfg
正确答案:4
提示:p27:Explanation: The switchdesk program allows you to switch desktop enviornments and window managers.
init进程是所有用户进程的父进程。它的进程号是:
a.0
b.1
c.-1
d.0.1
1 0
2 -1
3 1
4 0.1
正确答案:2
提示:s13
You have installed a DHCP server on your Linux machine and edited the configuration file. What else must you do before it will give out ip addresses?

1 reboot
2 service dhcp begin
3 touch /var/lib/dhcp/dhcpd.leases
4 Put fixed-addresses in the configuration for each client.
5 All of the above
正确答案:4
提示:p9:Explanation: You must touch the /var/lib/dhcp/dhcpd.leases file in order to get DHCP to begin giving out ip addresses.
在使用edquota配置磁盘定额内容时,一般来说我们可以设置________内容。
1 硬限制
2 软限制
3 分区限制
4 缓冲期间
正确答案:214
提示:rf_mx9:ABD
What command can you enter to find out which rpm contains the /etc/foo file?

1 D: rpm -q -f /etc/foo
2 A: rpm -qa |grep foo
3 B: rpm -ql /etc/foo
4 C: rpm -qlf /etc/foo
5 E: man foo
正确答案:4
提示:p25:Explanation: You can find out which rpm a file belongs to by using the rpm -q -f command. You must have the redhatrpmdb rpm installed though.
What file contains the list of terminals that root is allowed to log into?

1 /etc/secure
2 /etc/tty.conf
3 /etc/terminals
4 /etc/rooterm.conf
5 /etc/securetty
正确答案:5
提示:p50:Explanation: The /etc/securetty file contains a list of all terminals that root is allowed to log into
如果命令在前台运行,那么用户在此进程结束前不能继续使用当前的shell。
1 正确
2 错误
正确答案:1
提示:rx5:T
What command will create the https://www.doczj.com/doc/d76439622.html,er and quota.group files for

me?

1 repquota -u
2 quotacheck -cugf
3 quotacheck -rugf
4 quotacheck -avug
5 none of the above
正确答案:1
提示:p43:
What file do you edit to set the default runlevel?

1 /etc/inittab
2 /etc/grub.conf
3 /etc/lilo.conf
4 either A or B
5 /etc/runlevel
正确答案:4
提示:p49:Explanation: /etc/inittab is the standard place to do this and is the best answer.
How can you find out which ports are being used?
A.
B.
C.
D.
E.

1 ifconfig -a
2 netstat -rn
3 ports
4 netstat -a
5 cat /etc/services
正确答案:2
提示:p31:Explanation: The netstat -a command shows you which ports are in use. A is wrong because the ifconfig -a command tells you about your NICs. B is correct. C is wrong because it shows you the routing table. D doesn't do anyting. E just shows you the etc/ports file.
/boot目录用来存放Linux启动时所需要的一些数据和文件,如果该目录被破坏,系统将不能够启动,缺省情况下该目录应能由普通用户读 写。
1 错误
2 正确
正确答案:1
提示:rx1:F
What program can be used to test the smb.conf file for errors?

1 testparm
2 mount
3 test
4 samba --checkparm
5 smbfs
正确答案:4
提示:p6:Explanation: the testparm program parses the smb.conf file and reports any errors. If you make a typo this program is likely to find it.
You install Linux and reboot your machine and you see only L instead of the expected LILO. What is wrong?

1 The descriptor table is corrupt.
2 The second stage boot loader loaded at an incorrect address
3 Lilo did not load at all.
4 The first stage boot loader loaded but not the second stage.
5 Nothing is wrong.
正确答案:2
提示:p32:Explanation: When Lilo just displays an L then the first stage boot loader loaded but not the second stage. If the second stage loaded then LILO would print an LI. When the descriptor table is corrupt LILO prints LIL-. When the second stage boot loader is loaded at an incorrect address LILO prints LIL?.
Linux下配置内核的makefile提供了配置选项的方法有:
1 make menuconfig
2 make xconfig
3 make config
4 make oldconfig
正确答案:2134
提示:rf_mx2:ABCD
What file would you edit to share out a directory via NFS?

1 /etc/fstab
2 /etc/nfsd.conf
3 /etc/nsf
4 /etc/exports
5 /etc/export.conf
正确答案:4
提示:p39:Explanation: To share a directory via NFS you must edit the /etc/exports file and then run exportfs -a.
某用户在上机过程中启动了很多进程,下面哪一条命令能够找出名为"shi"的进程。

1 ps | grep "shi"
2 ps | find "shi"
3 find | ps "shi"
4 grep | ps "shi"
正确答案:3
提示:s19
fork 系统调用能

1 调入某程序,产生一个新进程
2 把当前进程复制一份,产生一个新进程
3 用某程序的内容替代当前进程的内容
4 更改当前进程的pid
正确答案:2
提示:s

28
How do you enable quotas on a partition in /etc/fstab?

1 D: Add the usrquota and grpquota options.
2 A: Add the enforcequotas option.
3 C: Add the quota option.
4 B: You don't. Quotas are turned on automatically when you install the quota rpm.
5 E: You put a 1 in the last column.
正确答案:4
提示: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.
What does COPS stand for?

1 Computer Oracle and Points System
2 Computer Oracle and Password System
3 Computer Oriented Password Security
4 Company Oriented Password System
5 None of the above
正确答案:3
提示:p33:Explanation: COPS (Computer Oracle and Password System) can check your system for things that are insecure.
What command facility(ies) can be used to schedule processes?
1 A: crontab -e
2 D: jobs
3 C: prsched
4 B: at
5 E: cron
正确答案:12
提示:s40

相关主题
文本预览
相关文档 最新文档