Linux认证考试基础试题及答案

1、Linux 核心的许可证是什么?(  )

Linux认证考试基础试题及答案

a. NDA

b. GDP

c. GPL

d. GNU

答案:C

2、Linux是操作系统,意味着开放性源码是自由可用。(  )

a、封闭资源

b、开放资源

c、用户注册

d、开放性二进制

答案 b

3、确定myfile的文件类型的命令是什么(  )

a. type myfile

b. type -q myfile

c. file myfile

d. whatis myfile

答案 C

4、用来分离目录名和文件名的字符是什么(  )

a. slash (/)

b. period (.)

c. dash (-)

d. asterisk (*)

答案 A

5、你想显示文件"longfile"的最后10行,下面那个命令是正确的(  )

a、tail logfile

b、head -10 longfile

c、taid -d 10 longfile

d、head longfile

答案 a

6、假如你得到一个运行命令被拒绝的信息,你可以用哪个命令去修改它的.权限使之可以正常运行(  )

a. path=

b. chmod

c. chgrp

d. chown

答案 b

7、拷贝mydirmyfile文件到dir2目录下,但是系统提示这个文件已经存在,下面那个命令是正确的(  )

a、cp -w mydirmyfile dir2

b、cp -i mydirmyfile dir2

c、cp mydirmyfile dir2

d、cp -v mydirmyfile dir2

答案 b

8、下面那个命令允许对文件重命名(  )

a、rn

b、rname

c、replace

d、mv

答案 d

9、假如文件是按8进制来定义,下面那个值代表了读和写(  )

a、2

b、6

c、4

d、1

答案 b

10、linux临时目录一般存在下面那个文件夹中(  )

a、/tmp

b、/proc

c、/data

d、/dev

答案 a

11、一个文件的权限是-rw-rw-r--,这个文件所有者的权限是什么(  )

a、read-only

b、read-write

c、write

答案 b

12、下面哪个值代表多用户启动(  )

a、1

b、0

c、3

d、5

答案 c

13、下面哪个文件代表系统初始化信息(  )

a、/etc/inittab

b、/etc/init

c、/etc/proc

d、/etc/initproc

答案 a

14、哪条命令从当前系统切换到启动级别1(  )

a、inittab 1

b、init 1

c、level 1

d、rlevel1

答案 b

15、下面哪个选项能取消shutdown命令(  )

a、shutdown -c

b、shutdown -x

c、shutdown -u

d、shutdown -n

答案 a