LINUX模拟试题及答案

时间:2020-10-06 15:35:33 Linux认证 我要投稿

2017年LINUX模拟试题及答案

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

2017年LINUX模拟试题及答案

  a. 负责文件在网络中的共享

  b. 管理打印子系统manages the printing subsystem

  c. 跟踪管理系统信息和错误

  d. 管理系统日常任务的调度 (scheduling)

  2在大多数linux发行版本中,以下哪个属于块设备 (block devices) ?

  a. 串行口

  b. 硬盘

  c. 虚拟终端

  d. 打印机

  3下面哪个linux命令可以一次显示一页内容?

  a. pause

  b. cat

  c. more 

  d. grep

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

  a. use df

  b. use du /

  c. use du .

  d. use df .

  5怎样更改一个文件的权限设置?

  a. attrib

  b. chmod

  c. change

  d. file

  01.d 02.b 03.c 04.c 05.b

  6假如您需要找出 /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 来

  7假如当前系统是在 level 3 运行,怎样不重启系统就可转换到 level 5 运行?

  a. set level = 5 

  b. telinit 5

  c. run 5

  d. alt-f7-5

  8那个命令用于改变 ide 硬盘的设置?

  a. hdparam

  b. ideconfig

  c. hdparm

  d. hddparm

  9下面哪个命令可以列出定义在以后特定时间运行一次的所有任务?

  a. atq

  b. cron

  c. batch

  d. at

  10下面命令的作用是:set ps1="[\u\w\t]\\$",export ps1

  a. 改变错误信息提示

  b. 改变命令提示符

  c. 改变一些终端参数

  d. 改变辅助命令提示符

  06.c 07.b 08.c 09.a 10.b

  11作为一个管理员,你希望在每一个新用户的目录下放一个文件 .bashrc ,那么你应该在哪个目录下放这个文件,以便于新用户创建主目录时自动将这个文件复制到自己的.目录下。

  a. /etc/skel/

  b. /etc/default/

  c. /etc/defaults/

  d. /etc/profile.d/

  12在bash中,export命令的作用是:

  a. 在子shell中运行条命令

  b. 使在子shell中可以使用命令历史记录

  c. 为其它应用程序设置环境变量

  d. 提供nfs分区给网络中的其它系统使用

  13在使用了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--

  14下面哪个参数可以删除一个用户并同时删除用户的主目录?

  a. rmuser -r

  b. deluser -r

  c. userdel -r

  d. usermgr -r

  15有一个备份程序mybackup,需要在周一至周五下午1点和晚上8点各运行一次,下面哪条crontab的项可以完成这项工作?

  a. 0 13,20 * * 1,5 mybackup

  b. 0 13,20 * * 1,2,3,4,5 mybackup

  c. * 13,20 * * 1,2,3,4,5 mybackup

  d. 0 13,20 1,5 * * mybackup

  11.a 12.c 13.d 14.c 15.b

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

  a. umount

  b. dismount考试用书

  c. mount -u

  e. 从 /etc/fstab 中删除这个文件系统项

  17如果你的umask设置为022,缺省的,你创建的文件的权限为:

  a. ----w--w-

  b. -w--w----

  c. r-xr-x---

  d. rw-r--r--

  18在一条命令中如何查找一个二进制命令 xconfigurator 的路径?

  a. apropos xconfigurator

  b. find xconfigurator

  c. where xconfigurator

  d. which xconfigurator

  19哪一条命令用来装载所有在 /etc/fstab 中定义的文件系统?

  a. amount

  b. mount -a

  c. fmount

  d. mount -f

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

  a. read

  b. write

  c. execute

  d. browse on the directory

  16.a 17.d 18.d 19.b 20.b

【2017年LINUX模拟试题及答案】相关文章:

Linux认证模拟试题及答案08-30

Linux认证考试模拟试题及答案08-30

2016年Linux认证模拟试题及答案09-11

2017年LINUX认证考试模拟试题及答案12-13

2016年Linux认证考试模拟试题及答案11-05

Linux操作试题及答案09-10

Linux基础试题及答案02-07

Linux笔试试题及答案09-10

linux认证面试题及答案09-26