I have a file that contains the following:
Mon Dec 3 15:52:57 PST 2o007: FAILED TO PROCESSED FILE 200712030790881200.TXT - exit code=107
Tue Dec 4 09:08:57 PST 2007: FAILED TO PROCESSED FILE 200712030790879200a.TXT - exit code=107
This file also has a lot more stuff since it is a log file.... (2 Replies)
I have the need to search a text file from my unix script to determine if it contains the strings of: 'ERROR' and/or 'WARNING'.
By using Grep I can search the file and return a where one of these strings exists. Like this:
cat myfile.txt | grep ERROR
Output:
PROCESS ERROR HERE ... (3 Replies)
Hi ,
I have a file myhost.txt which contains below,
127.0.0.1 localhost
1.17.1.5 atrpx958
11.17.10.11 atrpx958zone nsybhost
I need to append words only after "atrpx958" like 'myhost' and 'libhost' and not after atrpx958zone.
How to search the word atrpx958 only in... (2 Replies)
Hi ,
I have a file myhost.txt which contains below,
127.0.0.1 localhost
1.17.1.5 atrpx958
11.17.10.11 atrpx958zone nsybhost
I need to append words only after "atrpx958" like 'myhost' and 'libhost' and not after atrpx958zone.
How to search the word atrpx958(which is hostname) only,... (5 Replies)
i want to search a log for occurrences of words and i want the result to tell me how many lines in the log contained each word.
if i type a command like this:
egrep "cat|dog|monkey|bananas|bike" logfile
i would like a response like this:
cat=3,dog=17,monkey=1,bananas=102,bike=51
the... (12 Replies)
I have a long list of alphanumberic words (no spaces or characters) in file1.txt I need to check for the existance of each of the words from file1.txt against file2.txt and if the word is NOT in file2.txt, I need to know about it, either standard output or redirect to file3.txt
For example:... (5 Replies)
Hi,
Need your help for this scripting issue I have. I am not really good at this, so seeking your help.
I have a file looking similar to this:
Hello, i am human and name=ABCD.
How are you?
Hello, i am human and name=PQRS.
I am good.
Hello, i am human and name=ABCD.
Good bye.
Hello, i... (12 Replies)
Hi All
I have to search servers name say like 1000+ "unique names" line by line in child.txt files in another file that is a master file where all server present say "master.txt",if child.txt's server name matches with master files then it print yes else no with server name. (4 Replies)
hi,
i need to replace all words in any quote position and then need to change the words inside the file thousand of raw.
textfile data :
"Ninguno","Confirma","JuicioABC"
"JuicioCOMP","Recurso","JuicioABC"
"JuicioDELL","Nulidad","Nosino"
"Solidade","JuicioEUR","Segundo"
need... (1 Reply)
Discussion started by: benjietambling
1 Replies
LEARN ABOUT DEBIAN
vpddecode
VPDDECODE(8) System Manager's Manual VPDDECODE(8)NAME
vpddecode - VPD structure decoder
SYNOPSIS
vpddecode [OPTIONS]
DESCRIPTION
vpddecode prints the "vital product data" information that can be found in almost all IBM and Lenovo computers. Available items are:
o BIOS Build ID
o Box Serial Number
o Motherboard Serial Number
o Machine Type/Model
Some systems have these additional items:
o BIOS Release Date
o Default Flash Image File Name
Note that these additional items are not documented by IBM, so this is guess work, and as such should not be blindly trusted. Feedback
about the accuracy of these labels is welcome.
OPTIONS -d, --dev-mem FILE
Read memory from device FILE (default: /dev/mem)
-s, --string KEYWORD
Only display the value of the VPD string identified by KEYWORD. KEYWORD must be a keyword from the following list: bios-build-id,
box-serial-number, motherboard-serial-number, machine-type-model, bios-release-date. Each keyword corresponds to an offset and a
length within the VPD record. Not all strings may be defined on all VPD-enabled systems. If KEYWORD is not provided or not valid,
a list of all valid keywords is printed and vpddecode exits with an error. This option cannot be used more than once. Mutually
exclusive with --dump.
-u, --dump
Do not decode the VPD records, dump their contents as hexadecimal instead. Note that this is still a text output, no binary data
will be thrown upon you. ASCII equivalent is displayed when possible. This option is mainly useful for debugging. Mutually exclu-
sive with --string.
-h, --help
Display usage information and exit
-V, --version
Display the version and exit
FILES
/dev/mem
AUTHOR
Jean Delvare
SEE ALSO biosdecode(8), dmidecode(8), mem(4), ownership(8)dmidecode February 2007 VPDDECODE(8)