11-11-2008
Hi,
Thanks for spending time on this..
I am expecting output as below:
/tmp/filesssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
and that length must exceed till PATHMAX=1023..
Thanks,
Mansa
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I want to choose the maximum value from a column values.
eg -
234
23
567
43
2456
5
678
8978
from thses values how to choose the max value ?
thanks.
roger. (3 Replies)
Discussion started by: Nayanajith
3 Replies
2. Shell Programming and Scripting
1> Can anyone tell me what is the maximum no of parameters that can be passed to a file
2> i have 100 files amongst which in 500 files i have a string which needs to be searched how would get the names of those files. (1 Reply)
Discussion started by: Shivdatta
1 Replies
3. Shell Programming and Scripting
How to set the max limit for socket opening TCL
Thanks,
Ajay (1 Reply)
Discussion started by: aju_kup
1 Replies
4. Programming
Hii can anyone pls tell how to limit the max no of message in a posix message queue. I have made changes in proc/sys/fs/mqueue/msg_max
But still whenever i try to read the value of max. message in the queue using attr.mq_curmsgs (where struct mq_attr attr) its giving the default value as 10.... (0 Replies)
Discussion started by: mohit3884
0 Replies
5. Linux
Oct 31 00:00:02 FIREWALL003 syslogd 1.4.1: restart.
Oct 31 00:00:02 FIREWALL003 syslogd 1.4.1: restart.
Oct 31 00:00:02 FIREWALL003 syslogd 1.4.1: restart.
Oct 31 02:37:09 FIREWALL003 kernel: srmLINUX: segfault at 00000000303a3031 rip 000000000026fe54 rsp 00000000ffbd05b8 error 4
Oct 31... (5 Replies)
Discussion started by: itik
5 Replies
6. Shell Programming and Scripting
Hi scripters,
I know sed can do this, but I'm not to well trained to achieve this.
Problem: wherever I am in my filesystem, with a 'pwd' I can check where I am.
It may be "/usr/local/apache/etc/conf" or "/opt/apache/var/log/backup" or "/var/log/backup/apache/2009/december"
Now from these... (7 Replies)
Discussion started by: Qube
7 Replies
7. HP-UX
hi,
iam getting error when i assign a variable to an array of more that 315 character in length
set -A array <variable>
<variable> value is 000001 000002 and up to 000045
it is giving error as
"The specified subscript cannot be greater than 1024."
can any one help me to solve this (2 Replies)
Discussion started by: gomathi
2 Replies
8. Solaris
Hi all, I'm using to Solaris machine. When I run a simple script this messenger come out:"limit: stacksize: Can't remove limit". Any one know the way to resolve this problem without reboot the machine?
Thanks in advance. (3 Replies)
Discussion started by: Diabolist9
3 Replies
9. Ubuntu
Ubuntu users,
I am configuring an Ubuntu 14.04 server as a load injector.
I have appended the hard and soft limits to /etc/security/limits.conf for any user (apart from root):
* hard nofile 65536
* soft nofile 65536
I am seeing the figure 65536 in... (5 Replies)
Discussion started by: aidylewis
5 Replies
LEARN ABOUT DEBIAN
cdbmake
cdbmake(1) General Commands Manual cdbmake(1)
NAME
cdbmake - create a constant database
SYNOPSIS
cdbmake cdb cdb.tmp
DESCRIPTION
cdbmake reads a series of encoded records from its standard input and writes a constant database to cdb.
cdbmake ensures that cdb is updated atomically, so programs reading cdb never have to wait for cdbmake to finish. It does this by first
writing the database to cdb.tmp and then moving cdb.tmp on top of cdb. If cdb.tmp already exists, it is destroyed. The directories con-
taining cdb.tmp and cdb must be writable to cdbmake; they must also be on the same filesystem.
cdbmake always makes sure that cdb.tmp is safely written to disk before it replaces cdb. If the input is in a bad format or if cdbmake has
any trouble writing cdb.tmp to disk, cdbmake complains and leaves cdb alone.
RECORD FORMAT
Records are indexed by keys. A key is a string. cdb is structured so that another program, starting from a key, can quickly find the rel-
evant record. cdbmake allows several records with the same key, although most readers take only the first record, and cdbmake slows down
somewhat if there are many records with the same key.
cdbmake and cdbdump(1) preserve the order of records.
A record is encoded for cdbmake as +klen,dlen:key->data followed by a newline. Here klen is the number of bytes in key and dlen is the
number of bytes in data. The end of data is indicated by an extra newline. For example:
+3,5:one->Hello
+3,7:two->Goodbye
key and data may contain any characters, including colons, dashes, newlines, and nulls.
Keys and data do not have to fit into memory. A database cannot exceed 4 gigabytes.
cdb is portable across machines.
SEE ALSO
cdbdump(1), cdbget(1), cdbstats(1)
cdbmake(1)