试题详情
- 单项选择题在Shell变量引用操作符可实现字符串替换其中()用来测试如果变量stra存在且不为空,则返回为word,否则返回为空串。
A、${stra:-word }
B、${stra:=word }
C、${stra: +word }
D、${stra: ?word }
- C
关注下方微信公众号,在线模考后查看
热门试题
- 监视服务器性能时,需要监视的子系统有()
- 全局作用域的组中的账户可以频繁改变,而不
- 要给网页添加背景图片应执行()命令。
- 最复杂的密码是哪个()。
- 在可变分区存储管理中,为实现地址映射,一
- 关于LINUX内核版本说法正确的有()。
- 人类生存和社会发展的基本资源是()
- 比较水平微指令与垂直微指令的优缺点。
- 域模式中安装的Windows 2003
- 如果用户想对某一命令详细的了解,可用()
- 设置下列哪项可以限制用户可以运行的Win
- Windows Server 2003的
- 物理地址.端口地址和IP地址都使用在数据
- 分时操作系统
- 本机组策略于域中的组策略冲突时,()。
- 为了增强计算机系统的处理能力和提高各类资
- 计算机中使用Cache的目的是()。
- 在Windows Xp中,如果一个窗口
- 如果将硬盘接在第一个IDE接口的从硬盘上
- 设计一个shell程序,添加一个新组为c