09-27-2010
I am writting this code into my shell script function which takes file name as command line agrument which then i stored in FILE variable.
FILE=$1
where $1 is MigBIOS.CR.GLOBAL.0100924021422.CSV.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everyone,
I have a file in which a word is repeated more than one time and I want to know how many times it is repeated.
ex: if i repeated word 'guru' in 10 lines I can get the o/p as:
cat filename | grep -c 'guru'.
How ever if the word is repeated more than one time, then how can I... (4 Replies)
Discussion started by: gurukottur
4 Replies
2. Shell Programming and Scripting
Hi all,
I have a file with lines written somewhat like this.
aaaa
ccc
aa
linux
browse = no
xssxw
cdcedc
dcsdcd
csdw
police
dwed
dwd
browse = no
cdecec (2 Replies)
Discussion started by: vikas027
2 Replies
3. Shell Programming and Scripting
Hello,
I'm looking for a wait to count the number of occurrences of a certain string of characters within a file. The file that I trying to parce has segments within the file that have a header and footer to each segment and I'm trying to do a count of the header string and compare it to a count... (9 Replies)
Discussion started by: bd_joy
9 Replies
4. Shell Programming and Scripting
Hi,
Below is my input file and desired output file:
Input file:
>header_N_1
ASFDGDGNDGEGWETWRYWTETWNETOWETWETWNETTETNWET
.
.
Desired output file:
>header_N_1
ASFDGDGDGEGWETWRYWTETWETOWETWETWETTETWET
.
.
From the input file, I just hope to exclude the 'N' word from its content... (5 Replies)
Discussion started by: patrick87
5 Replies
5. Shell Programming and Scripting
Hello,
I have several xml files from which I want to find and return a particular string
I want to locate the InId="00000008". Now that is inlcuded within a tag and ofcourse the number is different every time
this is what I came up with given that after greping the line that contains the... (6 Replies)
Discussion started by: TasosARISFC
6 Replies
6. Shell Programming and Scripting
Hello Experts,
I have to count the word like "RESULT_CODE: : -6" from the multiple files names like req.result_2_vqx-71144750.log for a particular date. Lets suppose the date is 10 OCT 2011.
How I can do it with a single command in Solaris environment.
Reagrds
Oracle User (8 Replies)
Discussion started by: Oracle_User
8 Replies
7. UNIX for Dummies Questions & Answers
I have a file that has the words I want to find in other files (but lets say I just want to find my words in a single file). Those words are IDs, so if my word is ZZZ4, outputs like aaZZZ4, ZZZ4bb, aaZZZ4bb, ZZ4, ZZZ, ZyZ4, ZZZ4.8 (or anything like that) WON'T BE USEFUL.
I need the whole word... (6 Replies)
Discussion started by: chicchan
6 Replies
8. UNIX for Dummies Questions & Answers
Hi all
I am working on disallowing users to use easy passwords in pam.d setting on RHEL 5.7 and SuSe 11, and I was hoping to add more words into the current cracklib dict, so I use "echo" command to append new words into the file
I dont want to add the same words into the dict, I think I... (2 Replies)
Discussion started by: hedkandi
2 Replies
9. Shell Programming and Scripting
With any cmd like sed grep ask etc... (1 Reply)
Discussion started by: sidpatil
1 Replies
10. Shell Programming and Scripting
Hi,
I have a sample file as shown below, I am looking for sed or any command which prints the complete word only from the input file.
Ex:
$ cat "sample.log"
I am searching for a word which is present in this file
We can do a pattern search using grep but I need to cut only the word which... (1 Reply)
Discussion started by: mohan_kumarcs
1 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)