会计考友 发表于 2012-8-4 12:19:50

Linux认证考试复习题含答案(5)

显示二进制文件的命令是?
a. od
b. vil
c. view
d. binview
如何显示linux系统中注册的用户数(包含系统用户)?
a. account -l
b. nl /etc/passwd
head
c. wc --users /etc/passwd
d. wc --lines /etc/passwd

在一行结束位置加上什么符号,表示未结束,下一行继续?
a. /
b. \
c. ;
d.
命令 kill 9 的含义是:
a. kills the process whose pid is 9.
b. kills all processes belonging to uid 9.
c. sends sigkill to the process whose pid is 9.
d. sends sigterm to the process whose pid is 9.
如何删除一个非空子目录/tmp?
a. del /tmp/*
b. rm -rf /tmp
c. rm -ra /tmp/*
d. rm -rf /tmp/*
使用什么命令可以在今天午夜运行命令 cmd1 ?
a. at midnight cmd1
b. cron -at "00:00" cmd1
c. batch -t "00:00" d. echo "cmd1"
d.at midnight

会计考友 发表于 2012-8-4 12:19:51

Linux认证考试复习题含答案(5)

你的系统使用增量备份策略,当需要恢复系统时,你需要按什么顺序恢复备份数据?
a. 最后一次全备份,然后从最早到最近的增量备份
b. 最后一次全备份,然后从最近到最早的增量备份
c. 最早到最近的增量备份,然后最后一次全备份
d. 最近到最早的增量备份,然后最后一次全备份
对所有用户的变量设置,应当放在哪个文件下?
a. /etc/bashrc
b. /etc/profile
c. ~/.bash_profile
d. /etc/skel/.bashrc
linux系统中,一般把命令 ls 定义为 ls --color 的别名,以便以不同颜色来标识不同类型的文件。但是,如何能够使用原先的ls命令?
a. \ls
b. ;ls
c. ls $$
d. ls --noalias
在linux系统中的脚本文件一般以什么开头?
a. $/bin/sh
b. #!/bin/sh
c. use /bin/sh
d. set shell=/bin/sh
下面哪种写法表示如果cmd1成功执行,则执行cmd2命令?
a. cmd1&&cmd2
b. cmd1cmd2
c. cmd1;cmd2
d. cmd1cmd2

在哪个文件中定义网卡的i/o地址?
a. cat /proc/modules
b. cat /proc/devices
c. cat /proc/ioports
d. cat /io/dma
页: [1]
查看完整版本: Linux认证考试复习题含答案(5)