11-14-2011
what you have tried .. ??
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am working with single line file with 589744523 characters having 542 "^M" (line feed) character.
I want to make 542 different lines file from the single line file thr. shell program only (it can be done thr vi command)
rd
anil
sorry for duplicate post previously, actually i don,t know... (6 Replies)
Discussion started by: anil_kut
6 Replies
2. Shell Programming and Scripting
Hi,
I have a text file like
Version=abc
Tab=1
URL GOTO=www.abc.com/board=1
some text...
I want to run a loop x no of times and append to the text file above text but
URL GOTO should be www.abc.com/board=2 then 3,4...etc till x.
Kindly help (2 Replies)
Discussion started by: krabu
2 Replies
3. Shell Programming and Scripting
Hello,
This is what I am trying to achieve:
file1
a
b
c
d
file2
e
f
g
h (8 Replies)
Discussion started by: smarones
8 Replies
4. UNIX for Dummies Questions & Answers
I would like to add a line to the end of a single column text file. How do I go about doing that?
Input:
BEGIN
1
2
3
Output:
BEGIN
1
2
3
END
Thanks! (1 Reply)
Discussion started by: evelibertine
1 Replies
5. Shell Programming and Scripting
Hi,
Input
7488 7389 chr1.fa chr1.fa
3546 9887 chr5.fa chr9.fa
7387 7898 chrX.fa chr3.fa
7488 7389 chr21.fa chr3.fa
7488 7389 chr1.fa chr1.fa
3546 9887 chr9.fa chr5.fa
7898 7387 chrX.fa chr3.fa
Desired Output
7488 7389 chr1.fa chr1.fa 2
3546 9887 chr5.fa chr9.fa 2... (2 Replies)
Discussion started by: jacobs.smith
2 Replies
6. Shell Programming and Scripting
Hi..Can anyone suggest a simple way of achieving this. I have several files which ends with extension .vcf . I will give example with two files
In the below files, we are interested in
File 1:
38 107 C 3 T 6 C/T
38 241 C 4 T 5 C/T
38 247 T 4 C 5 T/C
38 259 T 3 C 6 T/C... (8 Replies)
Discussion started by: empyrean
8 Replies
7. Shell Programming and Scripting
Hi friends
please help me on below,
i have 5 files like below
file1 is
x 10
y 20
z 15
file2 is
x 100
z 245
file3 is
y 78
z 23
file4 is
x 100 (3 Replies)
Discussion started by: siva kumar
3 Replies
8. Shell Programming and Scripting
Hi,
I have multiple files having many lines like as bvelow:
file Name a.txt
abc def
def xyz
123 5678
file Name b.txt
abc def
def xyz
123 5678
I would like to append files in the below format to a new file:
file Name c.txt (7 Replies)
Discussion started by: rramkrishnas
7 Replies
9. Shell Programming and Scripting
hdr=$(cut -c1 $path$file|head -1)#extract header”H”
trl=$(cut -c|path$file|tail -1)#extract trailer “T”
SplitFile=$(cut -c 50-250 $path 1$newfile |sed'$/ *$//' head -1')# to trim white space and extract table name
If; then # start loop if it is a header
While read I #read file
Do... (4 Replies)
Discussion started by: SwagatikaP1
4 Replies
10. UNIX for Beginners Questions & Answers
I am trying to consolidate multiple information files (<hostname>.Linux.nfslist) into one file so that I can import it into Excel. I can get the file contents with cat *Linux.nfslist >> nfslist.txt. I need each line prefaced with the hostname. I am unsure how to do this.
--- Post updated at... (5 Replies)
Discussion started by: Kentlee65
5 Replies
LEARN ABOUT DEBIAN
ods-hsmspeed
ods-hsmspeed(1) OpenDNSSEC ods-hsmspeed ods-hsmspeed(1)
NAME
ods-hsmspeed - OpenDNSSEC HSM speed tester
SYNOPSIS
ods-hsmspeed [-c config] -r repository [-i iterations] [-s keysize] [-t threads]
DESCRIPTION
The ods-hsmspeed utility is part of OpenDNSSEC and can be used to test the performance of the configured HSMs.
The components of OpenDNSSEC do not talk directly to the HSMs, but uses an internal library called libhsm. It then talks to the HSMs using
PKCS#11. The libhsm simplifies the process of creating keys and signatures for the other components of OpenDNSSEC.
ods-hsmspeed will measure the speed by using the libhsm. The result that you get is somewhat lower than what the manufactures promises,
because the libhsm creates some overhead to the pure PKCS#11 environment.
OPTIONS
-c config
Path to an OpenDNSSEC configuration file.
(defaults to /etc/opendnssec/conf.xml)
-i iterations
Specify the number of iterations for signing an RRset. A higher number of iterations will increase the performance.
(defaults to 1 iteration)
-r repository
The speed test will be performed on this repository.
-s keysize
A temporary RSA key with the given keysize will be used for signing.
(defaults to 1024 bit)
-t threads
The number of threads to use. Most HSMs will be utilized better with multiple threads.
(defaults to 1 thread)
SEE ALSO
ods-auditor(1), ods-control(8), ods-enforcerd(8), ods-hsmutil(1), ods-kaspcheck(1), ods-ksmutil(1), ods-signer(8), ods-signerd(8), ods-tim-
ing(5), opendnssec(7), http://www.opendnssec.org/
AUTHORS
ods-hsmspeed was written by Jakob Schlyter and Nominet as part of the OpenDNSSEC project.
OpenDNSSEC February 2010 ods-hsmspeed(1)