#!/bin/sh sleep 3 echo "input a:" read a if [ "$a" == y ]; then echo $a else echo no fi 问题: 如果在shell sleep 的过程敲很多次回车 例如3次 现象为 [root@localhost]#./filename input a: no [root@localhost]# [root@localhost]# [root@localhost]# _ 也就是说shell记住了你敲的这3次回车 怎么能达到这种效果: 不管敲几次回车 只捕捉input a: 出现后的那一次输入 [root@localhost]#./filename i...
最近用apache构建了一个服务器平台,用perl写的CGI,在fedora 8.0 下执行。 error_log文件中显示的错误是: [Wed Oct 15 23:37:14 2008] [warn] [client 172.21.132.77] Timeout waiting for output from CGI script /var/www/cgi-bin/dbindr/dbindr.cgi, referer: http://www.cbi.seu.edu.cn/DBindR/DBindR.htm [Wed Oct 15 23:37:14 2008] [error] [client 172.21.132.77] ModSecurity: Output filter: failed to read bucket (r...
我想通过LDAP Browser\Editor 来管理LDAP数据库, 可是连接这个LDAP时,出现下面的报错: 01:59:15 PM: List failed Root error: [LDAP: error code 32 - No Such Object] 01:59:19 PM: failed to read entry dc=vlsi,dc=com Root error: [LDAP: error code 32 - No Such Object] 这里的dc=vlsi,dc=com 是我的域名 有谁碰到过类似问题吗? 先谢过了啊!
我写了个 module,挂在 NF_IP_PRE_ROUTING 上,很简单的功能 [code] static unsigned int br_prerouting(unsigned int hooknum,struct sk_buff **skb, const struct net_device *in, const struct net_device *out, int (*okfn)(struct sk_buff *)) { struct iphdr *iph; struct icmphdr *icmph; if (!skb_make_w...
Solaris 8.0上iplanet的一个应用包在日志中报大量的 [13/Mar/2006:19:21:29] failure (28402): failed to read kernel statistics structures (No such device or address) 系统近期没有更新过kernal方面的配置,请问各位这是什么原因引起的?如何解决? 先谢过。 [ 本帖最后由 AlfaGong 于 2006-3-14 23:22 编辑 ]
哪位弟兄用过insight的,帮忙看下, Tcl_Init failed: can't read "env(TCL_LIBRARY)": no such variable 如题,启动insight就出现那么一句,就启动不动了.到底是怎么回事? 还要设置什么才能使TCL_LIBRARY变量存在 用export TCL_LIBRARY=/usr/local/lib也不行