会计考友 发表于 2012-8-4 12:10:41

linux认证考试试题[3]

11.suse linux 默认的shell是哪一个?:
a) Bourne again shell (bash)
b) Linux standard shell (lsh)
c) Zorro's shell (zsh)
d) C shell (csh)
12.下列哪些命令可以确定 ls 命令 是否是一个定义的别名(alias)A
a) alias ls
b) type -a ls
c) which ls
d) apropos ls
13.如何重新执行你之前在shell里面执行过的命令?A C
a) 使用上/下方向键,来选择执行哪一个之前执行过的命令
b) 使用 tab键,来选择执行哪一个之前执行过的命令
c)shell里面之前执行过的命令存储在~/.bash_history中,而且每个命令被分配了一个相应的序列号,可以在shell里面运行“!序列号”来执行某个之前执行过的命令。
d) shell里面之前执行过的命令存储在~/history中. 用Grep在该文件中搜索执行过的命令,之后就可以直接运行。
14.如何让一个程序的标准错误输出重定向到一个null设备
a) command 2> /dev/null
b) command 2> /dev/zero
c) command > /tmp
d) command >> /dev/null
15.如何让一个程序的标准输出既写入文件file,同时又能显示在标准输出设备
a) command | tee file
b) command &> file
c) command > file
d) command | > file
页: [1]
查看完整版本: linux认证考试试题[3]