在aix主机执行ls *LZ_9_890* sh: /usr/bin/ls: 0403-027 The parameter list is too long. 每个文件名的长度为64位长
find ~ -name "*.log" | xargs -L rm 从三楼的修改了一下. 在使用xargs选项时,究竟是一次获取所有参数还是分批获取参数,以及每一次获取参数的数目,都会根据该命令的选项以及系统类的可调参数来决定. use shell built-in echo command, it is not affected by the number of bytes available for the combined argument list and environment list. echo *.log|xargs rm 已经OK了,谢谢大家。如下: 直接在命令行方式键入下...
sco unix 5.06下面ids7.31 TERMCAP=$INFORMIXDIR/etc/termcap;export TERMCAP 换成tctermcap或者Termcap也不行!在$INFORMIXDIR/etc下面只有这 三个文件了~
在使用sendmsg()时出现了,message to long的错误 我msghdr结构体赋值如下: msg->msg_name=(struct sockaddr*)&sa; msg->msg_iov->iov_base=buf + fudge; msg->msg_iov->iov_len=ibufp + len - fudge; msg->msg_iovlen = 1; result = sendmsg (interface -> wfdesc,&msg,0); 我看过内核里面出现message to long的错误,是应为msg->msg_iovlen>1024 才出现的,但现在我的msg_iovlen=1啊。 ...
调试了以下以前写的程序,最近忙,没时间调试。对于 MySQL5.0数据库全部采用GBK编码,对于工程也用GBK 在向数据库插入时候先是出现乱码。 用 request.setCharacterEncoding("GBK");获得中文提交。 对于tomcat5.0如果要直接提交中文 like: xxx.jsp?str=中文 将出现乱码,这是因为get方法与post方法不一样。可以修改%tomcat_home%conf\server.xml 中的Connector模块,添加URIEncoding="gbk" 修改如下: port="8080"为默认端口。 存...
我用的是5.1,昨天把mysql,php,phpmyadmin的字符集都改成utf8后,用load data infile 命令插入数据时总是出现这样的错误提示:data too long for column 'cname' at row 1;网上搜一下,大都说set character_set=utf8之类的,但还是不行,最后找到了一个: 修改my.ini文件,将 sql-mode=STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION 注释掉,ok! 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chin...
Index created. DROP TABLE Smdr_Netflow_HostToHostApp_Hier * ERROR at line 1: ORA-00972: identifier is too long CREATE TABLE Smdr_Netflow_HostToHostApp_Hier ( * ERROR at line 1: ORA-00972: identifier is too long 0 rows deleted. 1 row created. 0 rows deleted. 1 row created. CREATE INDEX NetflowHostToHostAppHierhiertp0 ON Smdr_Netflow_HostToHostApp_Hier (timeZone...
[aix]# mkuser apile123456 Error adding "apile123456" : Name is too long. Do anyone know how to add such a user "apile123456" in AIX? I have asked IBM engineer about this , but they say AIX can't add an username logner than 8 chars.. And I have try to add this user in Solaris and RedHat, It's OK......