1. [单选题]cron后台常驻程序(daemon)用于()
A. 负责文件在网络中的共享
B. 管理打印子系统
C. 跟踪管理系统信息和错误
D. 管理系统日常任务的调度
2. [单选题]在Shell变量引用操作符可实现字符串替换(character-replacement)其中()用来测试,如果变量stra存在,则返回为变量stra的值,否则输出为word,并退出当前脚本程序
A. ${stra-word}
B. ${stra=word}
C. ${stra:+word}
D. ${stra:?word}
3. [单选题]如何在文件中查找显示所有以"*"打头的行()
A. find\*file
B. wc-l*
D. grep‘^\*’file