1. [单选题]在Shell变量引用操作符(operator)可实现字符串替换(character-replacement)其中()用来测试如果变量stra存在且不为空,则返回为word,否则返回为空串
A. ${stra:-word}
B. ${stra:=word}
C. ${stra:+word}
D. ${stra:?word}
2. [单选题]命令行的自动补齐功能要用到哪个按键( )。
A. Tab
B. Ctrl
C. Shift
D. Alt
3. [单选题]Linux中,提供TCP/IP包过滤功能的软件叫什么()
A. rarp
B. route 9
C. iptables
D. filter
4. [单选题]已知mount命令不是Linux的内部命令,如何查看mount的帮助信息( )。
A. mount --help
B. info mount
C. man mount
D. help mount
5. [单选题]Linux三种权限中允许进入目录的权限()
A. r-可读
B. w-可写
C. x-可执行
D. 都不是
6. [单选题]下列函数中可关闭文件的函数()
A. close()
B. dup2()
C. A和B都可以
D. dup()
7. [单选题]在windows与Linux双起动的系统中,如果要让LILO管理引导,则LILO应该放在()
A. MBR
B. /
C. root分区的首扇区
D. /LILO
8. [单选题]如何停止一台机器的telnet服务()
A. Put NONE in/etc/telnet.allow
B. Put a line&39;ALL:ALL&39;in/etc/hosts.deny
C. Comment the telnet entry in/etc/inittab
D. Comment the telnet entry in/etc/xinet.conf
9. [单选题]用户将多个文件用压缩命令成一个压缩文件,但发现某个文件要从压缩包里删除,用到的命令是( )。
A. zip -d
B. zip –u
C. gzip -d
D. gzip -u
10. [单选题]输出重定向符号右边的文件已经存在,不会覆盖文件而是追加的定向符是()
A. >
B. >>
C. 2>
D. &>