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. [单选题]如果用户想查看系统中是否安装了某个软件,则输入的命令是( )。
  A. rpm –aq 
  B. rpm –ed 
  C. rpm –ui 
  D. rpm -qi 
 
3. [单选题]在Shell变量引用操作符可实现字符串替换其中()用来测试,如果变量stra存在,则返回为变量stra的值,否则输出为word,并退出当前脚本程序
  A. ${stra-word} 
  B. ${stra=word} 
  C. ${stra:+word} 
  D. ${stra:?word}