1. [单选题]已知mount命令不是Linux的内部命令,如何查看mount的帮助信息( )。
A. mount --help
B. info mount
C. man mount
D. help mount
2. [单选题]在Shell变量引用操作符可实现字符串替换其中()用来测试,如果变量stra存在,则返回为变量stra的值,否则输出为word,并退出当前脚本程序
A. ${stra-word}
B. ${stra=word}
C. ${stra:+word}
D. ${stra:?word}
3. [多选题]如果当前路径在root用户宿主目录的四级子目录下,下列哪些命令可以一次跳转到宿主目录( )。
A. cd ..
B. cd root
C. cd /root
D. cd
4. [单选题]在大多数(most)Linux发行版本中,以下哪个属于块设备(block devices)()
A. 串行口
B. 硬盘
C. 虚拟终端
D. 打印机
5. [单选题]下列函数中可关闭文件的函数()
A. close()
B. dup2()
C. A和B都可以
D. dup()