1. [单选题]如何停止一台机器的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
2. [单选题]使用什么命令可以在今天午夜运行命令cmd1()
A. at midnight cmd1
B. cron-at"00:00"cmd1
C. batch-t"00:00"
3. [单选题]内核使程序执行的方法的是()
A. 调用exec函数
B. 调用exit/_exit
C. 从main返回
D. 收到一个系统终止信号
4. [单选题]当到达文件尾端或出错时,字符读取函数的返回值都是EOF,为进一步确认文件是否已到文件尾,应当通过()函数来判断。
A. ferror
B. feof
C. cleanerr
D. perror
5. [单选题]在Shell变量引用操作符可实现字符串替换其中()用来测试,如果变量stra存在,则返回为变量stra的值,否则输出为word,并退出当前脚本程序
A. ${stra-word}
B. ${stra=word}
C. ${stra:+word}
D. ${stra:?word}