Linux笔试题及答案(1)

如果您发现本试卷没有包含本套题的全部小题,请尝试在页面顶部本站内搜索框搜索相关题目,一般都能找到。
1

运行一个脚本,用户不需要什么样的权限()

  • A.read
  • B.write
  • C.execute
  • D.browse on the directory
3

在一条命令中如何查找一个二进制命令Xconfigurator的路径()

  • A.apropos Xconfigurator
  • B.find Xconfigurator
  • C.where Xconfigurator4
  • D.which Xconfigurator
6

如何从当前系统中卸载一个已装载的文件系统

  • A.umount
  • B.dismount
  • C.mount-u
  • D.从/etc/fstab中删除这个文件系统项
8

在使用了shadow口令的系统中,/etc/passwd和/etc/shadow两个文件的权限正确的是()

  • A.-rw-r-----,-r--------
  • B.-rw-r--r--,-r--r--r--
  • C.-rw-r--r--,-r--------
  • D.-rw-r--rw-,-r-----r--
9

在bash中,export命令的作用是()

  • A.在子shell中运行命令
  • B.使在子shell中可以使用命令历史记录
  • C.为其它应用程序设置环境变量
  • D.提供NFS分区给网络中的其它系统使用
10

下面命令的作用是()setPS1="[\u\w\t]\\$";exportPS1

  • A.改变错误信息提示
  • B.改变命令提示符
  • C.改变一些终端参数
  • D.改变辅助命令提示符
13

那个命令用于改变IDE硬盘的设置()

  • A.hdparam
  • B.ideconfig
  • C.hdparm
  • D.hddparm
14

假如您需要找出/etc/my.conf文件属于哪个包(package),您可以执行()

  • A.rpm-q/etc/my.conf
  • B.rpm-requires/etc/my.conf
  • C.rpm-qf/etc/my.conf
  • D.rpm-q|grep/etc/my.conf
16

怎样了解您在当前目录下还有多大空间()

  • A.Use df
  • B.Use du/
  • C.Use du.
  • D.Use df.
18

怎样更改一个文件的权限设置()

  • A.attrib
  • B.chmod
  • C.change
  • D.file
20

cron后台常驻程序(daemon)用于()

  • A.负责文件在网络中的共享
  • B.管理打印子系统
  • C.跟踪管理系统信息和错误
  • D.管理系统日常任务的调度
21

下面哪个命令刷新打印机队列()

  • A.lpflush
  • B.lprm-
  • C.lpclear
  • D.lprmall
22

什么命令显示所有装载的模块()

  • A.lsmod
  • B.dirmod
  • C.modules
  • D.modlist
23

下面哪个命令可以查看网卡的中断()

  • A.cat/proc/ioports
  • B.cat/proc/interrupts
  • C.cat/proc/memoryinfo
  • D.which interrupts
24

下面哪个命令用来卸载一个内核模块()

  • A.rmmod
  • B.unmod
  • C.delmod
  • D.modprobe
25

什么情况下必须运行lilo

  • A.once a day from cron
  • B.once a week from cron
  • C.after installing a new kernel
  • D.after in stalling a new module
26

在哪个文件中保存了sendmail的别名()

  • A./etc/aliases
  • B./etc/mailaliases
  • C./etc/sendmail.aliases
  • D./etc/sendmail/aliases
27

smbd and nmbdd aemons的配置文件是()

  • A./etc/exports
  • B./etc/sm.conf
  • C./etc/samba/config
  • D./usr/local/samb.cfg
28

如何停止一台机器的telnet服务()

  • A.Put NONE in/etc/telnet.allow
  • B.Put a line'ALL:ALL'in/etc/hosts.deny
  • C.Comment the telnet entry in/etc/inittab
  • D.Comment the telnet entry in/etc/xinet.conf
29

下面哪个文件包含了供NFSdaemon使用的目录列表()

  • A./etc/nfs
  • B./etc/nfs.conf
  • C./etc/exports
  • D./etc/netdir
30

缺省的,用户邮件放在()

  • A.~/mail/
  • B./var/mail/
  • C./var/mail/spool/
  • D./var/spool/mail/
32

下面哪个文件定义了网络服务的端口()

  • A./etc/netport
  • B./etc/services
  • C./etc/server
  • D./etc/netconf
35

拨号上网使用的协议通常是()

  • A.PPP
  • B.UUCP
  • C.SLIP
  • D.Ethernet
36

ping使用的协议是()

  • A.TCP
  • B.UDP
  • C.SMB
  • D.ICMP
37

在xdm的配置目录中,哪个文件用来设置在用户通过xdm登录后自动起动的应用程序()

  • A.The Xsession file
  • B.The Xsetup_0 file
  • C.The Xstart_up file
  • D.The GiveConsole file
40

下面哪个文件用来设置Xwindow的显示分辨率()

  • A.xinit
  • B.xinitrc
  • C.XF86 Setup
  • D.XF86 Config
41

8bitcolor指的是()

  • A.64K colors
  • B.16K colors
  • C.256 colors
  • D.16M colors
42

什么命令解压缩tar文件()

  • A.tar-czvf filename.tgz
  • B.tar-xzvf filename.tgz
  • C.tar-tzvf filename.tgz
  • D.tar-dzvf filename.tgz
43

在XF86Config配置文件中,哪个段用来设置字体文件()

  • A.The Font ssection.
  • B.The Files section.
  • C.The xfsCodes section.
  • D.The Graphics section.
44

通过Makefile来安装已编译过的代码的命令是()

  • A.make
  • B.install
  • C.make depend
  • D.make install
45

如何查看一个RPM软件的修改记录()

  • A.rpm-Vc postfix
  • B.rpm-qpil postfix
  • C.rpm--changelog postfix
  • D.rpm-q--changelog postfix
46

如何查看一个RPM软件的配置文件的存放位置()

  • A.rpm-qc rpm1
  • B.rpm-Vc rpm1
  • C.rpm--config rpm1
  • D.rpm-qa--config rpm1
47

定义bash环境的用户文件是()

  • A.bash&.bashrc
  • B.bashrc&.bash_conf
  • C.bashrc&bash_profile
  • D..bashrc&.bash_profile
49

在bash shell环境下,当一命令正在执行时,按下control-Z会()

  • A.中止前台任务
  • B.给当前文件加上EOF
  • C.将前台任务转入后台
  • D.注销当前用户
50

在Linux中,如何关闭邮件提示()

  • A.biffn
  • B.mesgn
  • C.notify off
  • D.setnotify=off