Hi Gurus,
I have 13 comma(,) seperated files that i have to merge and create a single file which has file name attached at th end of each record in the out put file. Can any one please help me with writing a unix script with this issue?
test1.dat
BIG ID,Local ID,Bond... (2 Replies)
I am trying to compare two file and make changes where ever its different.
for example:
Contents of file1
IP=192.165.89.11
NM=255.255.0.0
GW=192.165.89.1
Contents of file2
IP=192.165.89.11
NM=255.255.255.255
GW=192.165.89.1
NOTE HERE THAT NM IS DIFFERENT
So i want the changes... (6 Replies)
ex:
a file has :
122323
123456456
125656879
678989965t635
234323432
b has :
this is finance no.
this is phone no
this is extn
ajkdgag
idjsidj
i want the o/p as:
122323 his is finance no.
123456456 this is phone no
123456456 ... (4 Replies)
I have a file 1.txt with the below contents.
-----cat 1.txt-----
1234
5678
1256
1234
1247
-------------------
I have 3 more files in a folder
-----ls -lrt-------
A1.txt
A2.txt
A3.txt
-------------------
The contents of those three files are similar format with different data values... (8 Replies)
:EDIT:
I think my post name should have been labeled: how to copy files and record original file location. not "retain".
Hello, this is my first post! I searched the forums a lot before posting, but was unable to answer my question.
Here's my problem:
There are several hundred text files... (4 Replies)
I'm trying to compare 2 files for differences in a selct number of fields. When differnces are found it will write the whole record of the second file including appending '|C' out to a delta file. Each record will have 20 fields, but only want to do comparison of 1st 15 fields. The 1st field of... (7 Replies)
I have data coming in the below format for each record
<?xml version="1.0" encoding="UTF-8" standalone="no"?><test_sox xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><testdetials>....</test_sox>
<?xml version="1.0" encoding="UTF-8" standalone="no"?><test_sox... (8 Replies)
hi
I have 2 file with more than 10 columns for both
1st file
apple,0,0,0......
orange,1,2,3.....
mango,2,4,5.....
2nd file
apple,2,3,4,5,6,7...
orange,2,3,4,5,6,8...
watermerlon,2,3,4,5,6,abc...
mango,5,6,7,4,6,def.... (1 Reply)
Hi,
Not sure how to describe the problem. But basically, I have this file listing here
app01_app.test.com.ph|PROGRAM=SQL Developer|HOST=AKL0TS100|USER=Admtest01|HOST=10.111.12.23|
app02_app.test.com.ph|PROGRAM=D:\interface\apps\bin32\batch.exe|HOST=AKL0TS100|USER=Admtest09|HOST=10.111.12.35|... (3 Replies)
Discussion started by: newbie_01
3 Replies
LEARN ABOUT DEBIAN
grid-default-ca
GRID-DEFAULT-CA(8) Globus Commands GRID-DEFAULT-CA(8)NAME
grid-default-ca - Select default CA for certificate requests
SYNOPSIS
grid-default-ca [-help] [-h] [-usage] [-u] [-version] [-versions]
grid-default-ca -list [-dir CA-DIRECTORY]
grid-default-ca [-ca CA-HASH] [-dir CA-DIRECTORY]
DESCRIPTION
The grid-default-ca program sets the default certificate authority to use when the grid-cert-request script is run. The CA's certificate,
configuration, and signing policy must be installed in the trusted certificate directory to be able to request certificates from that CA.
Note that some CAs have different policies and use other tools to handle certificate requests. Please consult your CA's support staff if
you unsure. The grid-default-ca is designed to work with CAs implemented using the globus_simple_ca package.
By default, the grid-default-ca program displays a list of installed CA certificates and the prompts the user for which one to set as the
default. If invoked with the -list command-line option, grid-default-ca will print the list and not prompt nor set the default CA. If
invoked with the -ca option, it will not list or prompt, but set the default CA to the one with the hash that matches the CA-HASH argument
to that option. If grid-default-ca is used to set the default CA, the caller of this program must have write permissions to the trusted
certificate directory.
The grid-default-ca program sets the CA in the one of the grid security directories. It looks in the directory named by the
GRID_SECURITY_DIR environment, the X509_CERT_DIR, /etc/grid-security, and $GLOBUS_LOCATION/share/certificates.
The full set of command-line options to grid-default-ca are:
-help, -h, -usage, -u
Display the command-line options to grid-default-ca and exit.
-version, -versions
Display the version number of the grid-default-ca command. The second form includes more details.
-dir CA-DIRECTORY
Use the trusted certificate directory named by CA-DIRECTORY instead of the default.
-list
Instead of changing the default CA, print out a list of all available CA certificates in the trusted certificate directory
-ca CA-HASH
Set the default CA without displaying the list of choices or prompting. The CA file named by CA-HASH must exist.
EXAMPLES
List the contents of the trusted certificate directory that contain the string Example:
% grid-default-ca | grep Example
15) cd1186ff - /DC=org/DC=Example/DC=Grid/CN=Example CA
Choose that CA as the default:
% grid-default-ca -ca cd1186ff
setting the default CA to: /DC=org/DC=Example/DC=Grid/CN=Example CA
linking /etc/grid-security/certificates/grid-security.conf.cd1186ff to
/etc/grid-security/certificates/grid-security.conf
linking /etc/grid-security/certificates/grid-host-ssl.conf.cd1186ff to
/etc/grid-security/certificates/grid-host-ssl.conf
linking /etc/grid-security/certificates/grid-user-ssl.conf.cd1186ff to
/etc/grid-security/certificates/grid-user-ssl.conf
...done.
ENVIRONMENT VARIABLES
The following environment variables affect the execution of grid-default-ca:
GRID_SECURITY_DIRECTORY
Path to the default trusted certificate directory.
X509_CERT_DIR
Path to the default trusted certificate directory.
GLOBUS_LOCATION
Path to the Globus Toolkit installation directory.
BUGS
The grid-default-ca program displays CAs from all of the directories in its search list; however, grid-cert-request only uses the first
which contains a grid security configuration.
The grid-default-ca program may display the same CA multiple times if it is located in multiple directories in its search path. However, it
does not provide any information about which one would actually be used by the grid-cert-request command.
SEE ALSO grid-cert-request(1)AUTHOR
University of Chicago
Globus Toolkit 5.0.1 03/22/2010 GRID-DEFAULT-CA(8)