01-10-2012
Thank you guys, both ways very helpful as always,
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi guys,
Please help me if u have some solution.
I have a file with three columns separated by ':' -
INPUT_FILE
C416722_2 : calin Dirigent : Dirigent
AC4174_6 : Jac : cal_co
TC4260_5 : [no : lin kite
BC426302_1 : [no : calin Dirigent lin
JC426540_3 : lin Pymo_bin : calin
TC428_3 : no7... (4 Replies)
Discussion started by: sam_2921
4 Replies
2. Shell Programming and Scripting
Hi all,
I have two files with the same number of lines
the first file is a.dat and looks like
0.000 1.000
1.000 2.000
...
the fields are tab separated
the second file is b.dat and looks like
1.2347 0.546
2.3564 0.321
...
the fields are tab separated
I would like to have a file c.dat... (4 Replies)
Discussion started by: f_o_555
4 Replies
3. Shell Programming and Scripting
I am having 4 field in a file
name age date status
i want to update or rewrite a value of status with another value
how it can be done
i used awk & sed but it shows result but not updating in original file
help me out...
Thanks (4 Replies)
Discussion started by: ragavendar
4 Replies
4. Shell Programming and Scripting
Hi All ,
Kindly help me with this soln
awk '{printf "%s %7s \n", $1,$c}' infile
where
value of variable c I am externally giving input
But executing the above command shows all the columns of infile where as I want only 1st column of infile and 2nd column should print value c (8 Replies)
Discussion started by: Pratik4891
8 Replies
5. UNIX for Dummies Questions & Answers
Evening all !
I would like to ask your expertise on how to accomplish the following ;
I have 2 lists, and would like each line from list2 to be appended to each line in list1, resulting in list3 ;
List1;
alpha
beta
charlie
List2;
one
two
three (4 Replies)
Discussion started by: TAPE
4 Replies
6. Shell Programming and Scripting
I created a CPIO archive I wanted to add addition data to it but am having issues:
-rw-r--r-- 1 test test 629295104 2011-10-28 12:41 /home/test/Downloads/test.cpio
I tried:
sudo find /tmp -depth | cpio -oAO /home/test/Downloads/test.cpio
cpio: premature end of file
and (1 Reply)
Discussion started by: metallica1973
1 Replies
7. Shell Programming and Scripting
Hi All,
Input.txt
KGO
Id "003"
..........
..........
Par "CPara"
BIN RECGET
Name "DIR_PATH"
Prompt "DIR_PATH"
END RECGET
KGO
............
..........
...............
KGO
Id "077"
..........
.......... (7 Replies)
Discussion started by: unme
7 Replies
8. Shell Programming and Scripting
I have a data file that looks like this:
0.01 1 3822 4.97379915032e-14 4.96982253992e-09 0
0.01 3822 1 4.97379915032e-14 4.96982253992e-09 0
0.01 2 502 0.00993165137406 993.165137406 0
0.01 502 2 0.00993165137406 993.165137406 0
0.01 4 33 0.00189645523539 189.645523539 0
0.01 33 4... (3 Replies)
Discussion started by: kayak
3 Replies
9. Shell Programming and Scripting
Hi All,
I have a file with 3 millions records in which 3rd column is same throughout say its value is 0 throughout.for example:
Col1 Col2 Col3 Col4
A 1 0 5
B 2 0 6
C 3 0 7
D 4 0 9
I want my output as :
Col1 Col2 Col3 Col4
A 1 ... (4 Replies)
Discussion started by: Pinky456
4 Replies
10. Shell Programming and Scripting
Good evening
I have the below requirements, as I am not an experts in Linux/Unix and am looking for your ideas how I can do this.
I have file called file1 and file2.
I need to get the second column which is text1_random_alphabets and find that in file 2, if it's exists then print the 3rd... (4 Replies)
Discussion started by: mychbears
4 Replies
LEARN ABOUT DEBIAN
reglookup-timeline
reglookup-timeline(1) reglookup-timeline(1)
NAME
reglookup-timeline - Windows NT+ registry MTIME timeline generator
SYNOPSIS
reglookup-timeline [-H] registry-file [registry-file ...]
DESCRIPTION
This script is a wrapper for reglookup(1), and reads one or more registry files to produce an MTIME-sorted output. This is helpful when
building timelines for forensic investigations.
PARAMETERS
reglookup-timeline accepts one or more registry file names. All of the provided registries will be parsed using reglookup(1). The -H option
may be used to omit the header line.
OUTPUT
reglookup-timeline generates a comma-separated values (CSV) compatible format to stdout. While the output of reglookup-timeline and
reglookup(1) differ in the columns returned, the base format is the same.
Currently, reglookup-timeline returns three columns: MTIME, FILE, and PATH. Only rows representing registry keys are returned, since MTIMEs
are not stored for values. The FILE column indicates which registry file (provided as an argument) the key came from. Finally, the PATH
field contains the full registry path to the key. Records are returned sorted in ascending order based on the MTIME column.
BUGS
This script is new, and as such it's interface may change significantly over the next few revisions. In particular, additional command line
options will likely be added, and the output of the script may be altered in minor ways.
It is very difficult to find documentation on what precise operations cause the MTIMEs to be updated. Basic experimentation indicates that
a key's stamp is updated anytime an immediate sub-value or sub-key is created, renamed, deleted, or it's value is modified. If this MTIME
data is critical to an investigation, any conclusions should be validated through experimentation in a controlled lab environment.
This software should be considered unstable at this time.
CREDITS
This script was written by Timothy D. Morgan based on suggestions from Uwe Danz.
Please see source code for a full list of copyrights.
LICENSE
Please see the file "LICENSE" included with this software distribution.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more details.
SEE ALSO
reglookup(1) reglookup-recover(1)
File Conversion Utilities 8 March 2010 reglookup-timeline(1)