Can anyone help me with this.
There are two files and I have to match the second file records with that of first and if matched, print the output in two fies, one containing the matched records and other containing the rest.
Here is the example.
As can be seen 111 and yu8 matches with the first reord in file 1, so the whole row should be printed.
Output should be
Can anyone help me with this. Thanks.
I have to compare two text files, very few of the lines in these files will have some difference in some column.
The files size is in GB.
Sample lines are as below:
11111122222222333333aaaaaaaaaabbbbbbbbbccccccccdddddd
11111122222222333333aaaaaaaaaabbbbbbbbbccccccccddeddd
So assuming these... (19 Replies)
hi
I have 2 files to comapre ,in file a sible column it is numbers,in file b2 numbers and other values with coma separated.
i want compare numbers in file a with file b,and the out put put should be in C with numbers in both file a and b along with other columns of file b.
i used folowing... (7 Replies)
Hi All,
i've written script to collect the tablespaces and the datafiles related to each tablespaces with free space available and directed to two logfiles.. ( pasted below)
1. datafile_test.log
PSAPSR3
PSAPSR3700
PSAPSR3USR
2. freedata_test.log... (6 Replies)
I have two text files which have records of thousand rows. Each row is having around 40 columns. Each column is tab delimited. Each row is delimited by newline character.
My requirement is to find for each row i need to find whether any column is different between the two files. For each row i... (8 Replies)
Hi i have 2 csv files a.csv and b.csv with the same number of columns and a list of values in both of it. Each and every individual value in both the files need to compared and if it matches then print correct in a new csv file otherwise print Incorrect
eg
a.csv
1,12/27/2007,Reward,$10.00... (5 Replies)
now i have a different file zoo.txt with content
123|zoo
234|natan
456|don
and file rick.txt with contents
123|dog|pie|pep
123|tail|see|newt
456|som|sin|sim
234|pay|rat|cat
i want to look for lines in file zoo.txt column1 that has same corresponding lines in column 1 of... (6 Replies)
Hello, I am trying to compare 2 files and get only the new lines as output. Note that new lines can be anywhere in the file and not necessarily at the bottom of the file.
I have made the following progress so far.
/home/aa>cat old.txt
0001 732 A
0002 732 C
0005 732 D... (7 Replies)
Dear All,
I would really appreciate if you can help me to resolve this file comparison
I have two files:
file1:
chr start end ID gene_name
chr1 2020 3030 1 test1
chr1 900 5000 2 test1
chr2 5000 8000 3 test2
chr3 6000 12000 4 test3
chr3 6000 15000 5 test3
file2:... (2 Replies)
HI,
I have two files and contains many Fields with | (pipe) delimitor, wanted to compare both the files and get only unmatched perticular fields. this i wanted to use in shell scriting.
ex:
first.txt
111 |abc| 230| hbc231 |bbb |210 |bbd405 |ghc |555 |cgv
second.txt
111 |abc |230 |hbc231... (1 Reply)
Discussion started by: prawinmca
1 Replies
LEARN ABOUT OSF1
dnskeygen
dnskeygen(1) General Commands Manual dnskeygen(1)NAME
dnskeygen - Generates public, private, and shared secret keys for DNS Security
SYNOPSIS
/usr/bin/dnskeygen [-DHR] key-size [-zhu] [-p value] [-s value] -n name
OPTIONS
Specifies that the key cannot be used for authentication. Specifies that the key cannot be used for encryption. Generates a DSA/DSS key.
The size (in bytes) must be one of the following values: 512, 576, 640, 704, 768, 832, 896, 960, or 1024. Uses a large exponent for key
generation (RSA only). Generates an HMAC-MD5 key. The size (in bytes) must be between 1 and 512. Generates a Host key for a host or ser-
vice. Specifies the name of the key that you generate. Sets the protocol field value. The default is 2 (E-mail) for Host keys and 3 (DNS
Security) for all others. Generates an RSA key. The size (in bytes) must be between 512 and 4096. Sets the strength value with which this
key signs DNS records. The default is 1 for Zone keys and 0 for all others. Generates a User key for E-mail or another purpose. Generates
a Zone key for DNS validation.
When the dnskeygen command is executed with no options, it generates output containing a list of its options.
DESCRIPTION
Use the dnskeygen utility to generate and maintain keys for DNS Security. The utility can generate public and private keys to authenticate
zone data and shared secret keys to use for Request/Transaction signatures.
RESTRICTIONS
Although the dnskeygen command supports the full range of options offered by the Internet Software Consortium's (ISC) original program, at
this time, the operating system supports only the keys it generates for secure dynamic updates and zone transfers. See bind_manual_setup(7)
and the Network Administration guide for more information about these features.
EXAMPLES
In the following example, an administrator creates a private key for authentication of DNS dynamic updates (the forward slash indicates
line continuation): # dnskeygen -H 1024 -h -c -n pubnet-enterprise_update ** Adding dot to the name to make it fully qualified domain
name** Generating 1024 bit HMAC-MD5 Key for pubnet-enterprise_update.
Generated 1024 bit Key for pubnet-enterprise_update. id=0 alg=157
flags=16897
# ls K* Kpubnet-enterprise_update.+157+00000.key Kpubnet-enterprise_update.+157+00000.private
FILES
The dnskeygen command generates two files in the directory in which it is executed: Public key file. Private key file.
SEE ALSO
Commands: named(8)
Files: named.conf(4)
Others: bind_manual_setup(7)
Network Administration
dnskeygen(1)