Hi!
Sitting with a headache this morning and can't get the brain around it!
I have a file with 32000 lines that needs to be inserted onto a database.
My problem is with the following:
First part between bars is a date and second some identifiers
|19511108|0001417|
|19481024|0001439|... (6 Replies)
Hello friends,
I am looking for a script or method that can display all the dates between any 2 given dates.
Input:
Date 1
290109
Date 2
010209
Output:
300109
310109
Please help me. Thanks. :):confused: (2 Replies)
I have a 1 GB file.I want to take the information for last one month from that file.
Say i want to extract data from May 1st.
File contents below.
193.135.218.124 - - "GET /jsp/acafai/supplier/notification.htm HTTP/1.1" 200 38531
193.135.218.124 - - "GET /images/2_aca_fai.gif HTTP/1.1"... (5 Replies)
Hi all,
this is my first post, and i want to say hello to everyone in there.
I've a little problem for you all :).
I have a log like this:
38714 07/02/09 00:01:36 nsrd web2consolidato:D:\ done saving to pool 'SISTMSW0060' (Q09480) 32 GB
38752 07/02/09 00:01:37 nsrd /dev/rmt/STK0.2.10.5... (5 Replies)
Hi I am working on the script parsing specific message "TEST" from multiple file. The log file name looks like:
N3.2009-11-26-03-05-02.console.log.tar.gz
N4.2009-11-29-00-25-03.console.log.tar.gz
N6.2009-12-01-10-05-02.console.log.tar.gz
I am using the following command:
zgrep -a --text... (1 Reply)
Hi Every body
I had a data in file as shown..
Now i want to get the data and insert into other file but between the two date ranges or from a past date to current date..Please Guide me in doing that..
Below is the data that looks like...
child process 2588 still did not exit, sending a... (2 Replies)
Hi All,
I am trying to print the dates that falls between 2 date variables into a file. Here is the example.
$BUS_DATE =20120616
$SUB_DATE=20120613
Output to file abc.txt should be : 20120613,20120614,120120615,20120616
Can you pls help me accomplish this in LINUX.
Thanks... (5 Replies)
Dear experts
I am new bee to scripting...
Pl. help me getting the lines between two strings.
I am getting the oracle sql output as below. and would like to get the time from system date compare with the date in sql output file and extract the lines.
if system time is 2012-07-01 19:15:00 get... (1 Reply)
Hi Am Using Unix Ksh ...
I have a Table called date
select * from date ;
Date
01/02/2013
06/02/2013
I need the output as
Missing Date
01/02/2013
02/02/2013
03/02/2013
04/02/2013
05/02/2013
06/02/2013 (2 Replies)
Hello Gurus,
I'm beginner in Shell scripting.
I got a requirement to write a script.
I have a file with below (similar) content
If you can observe above content, there are many date values existed (with different dates) in a format: ddMonyyyy
I have to write replace all these... (7 Replies)
Discussion started by: raghu.iv85
7 Replies
LEARN ABOUT CENTOS
lcp_crtpollist
LCP_CRTPOLLIST(8) User Manuals LCP_CRTPOLLIST(8)NAME
lcp_crtpollist - create an Intel(R) TXT policy list
SYNOPSIS
lcp_crtpollist COMMAND [OPTION]
DESCRIPTION
lcp_crtpollist is used to create an Intel(R) TXT policy list.
OPTIONS --create
Create an TXT policy list. The following options are available:
--out file policy list file
[--ver version] version
[file]... policy element files
--sigh Sign an TXT policy list.
--pub key-file PEM file of public key
--out file policy list file
[--priv key-file] PEM file of private key
[--rev rev-ctr] revocation counter value
[--nosig] don't add SigBlock
--addsig
--sig file file containing signature (big-endian)
--out file policy list file
--show file
policy list file
--help Print out the help message.
--verbose
Enable verbose output; can be specified with any command.
EXAMPLES
Create policy list:
Assuming there have been two element file mle.elt and pconf.elt generated by lcp_crtpolelt(8) The following example can create an unsigned
policy list:
lcp_crtpollist --create --out list-unsig.lst mle.elt pconf.elt
Sign policy list:
Unsigned policy list can be signed by the command lcp_crtpollist(8) or openssl(1). The openssl(1) signing is supported for cases where the
signing environment is separate from the policy creation environment and the software allowed to run there is strictly controlled and
already supports openssl(1).
The following example uses openssl(1) to sign the list:
1 openssl rsa -pubout -in privkey.pem -out pubkey.pem
2 cp list-unsig.lst list-sig.lst
3 lcp_crtpollist --sigh --pub pubkey.pem --nosig --out list-sig.lst
4 openssl genrsa -out privkey.pem 2048
5 openssl dgst -sha1 -sign privkey.pem -out list.sig list-sig.lst
6 lcp_crtpollist --addsig --sig list.sig --out list-sig.lst
lcp_crtpollist can also be used to sigh a policy list. The following example are intended to be mutually exclusive with the preceding exam-
ple.
1 openssl genrsa -out privkey.pem 2048
2 openssl rsa -pubout -in privkey.pem -out pubkey.pem
3 cp list-unsig.lst list-sig.lst
4 lcp_crtpollist --sign --pub pubkey.pem --priv privkey.pem --out list-sig.lst
SEE ALSO lcp_crtpol2(8), lcp_crtpolelt(8), lcp_crtpollist(8), openssl(1).
tboot 2011-12-31 LCP_CRTPOLLIST(8)