Hi,
I have file 1.txt with following entries as shown:
0152364|134444|10.20.30.40|015236433
0233654|122555|10.20.30.50|023365433
**
**
**
In file 2.txt I have the following entries as shown:
0152364|134444|10.20.30.40|015236433
0233654|122555|10.20.30.50|023365433... (4 Replies)
Hi all,
I'm looking for some help. I have a file (very long) that is organized like below:
>Cluster 0
0 283nt, >01_FRYJ6ZM12HMXZS... at +/99%
1 279nt, >01_FRYJ6ZM12HN12A... at +/99%
2 281nt, >01_FRYJ6ZM12HM4TS... at +/99%
3 283nt, >01_FRYJ6ZM12HM946... at +/99%
4 279nt,... (4 Replies)
All,
I have the following file:
--------------------------------------
#
# /etc/pam.d/common-password - password-related modules common to all services
#
# This file is included from other service-specific PAM config files,
# and should contain a list of modules that define the services... (2 Replies)
Hi,
I am trying to write a script that list down all the files that do not match the pattern
My pattern will be like this "*.jpg|*.xml|*.sql". This pattern will be stored in a file. The script need to read this pattern from the file and delete the files that does not match this pattern. It... (7 Replies)
i have list in file named sample.txt
eg
i want to cut the 3rd and 4th character i.e. 01,02,03....,24(max length is 24)
and i want to find the missing sequence .and display them
i.e. (15 Replies)
Hi,
I am trying to get a result out of this but fails please help. Have two files /tmp/1 & /tmp/hosts.
/tmp/1
IP=123.456.789.01
WAS_HOSTNAME=abcdefgh.was.tb.dsdc
/tmp/hosts
123.456.789.01
I want this result in /tmp/hosts if hostname is already there dont want duplicate entry.
... (5 Replies)
'Hi
I'm using the following code to extract the lines(and redirect them to a txt file) after the pattern match. But the output is inclusive of the line with pattern match.
Which option is to be used to exclude the line containing the pattern?
sed -n '/Conn.*User/,$p' > consumers.txt (11 Replies)
The sample file:
dept1: user1,user2,user3
dept2: user4,user5,user6
dept3: user7,user8,user9
I want to match by '/^dept2.*/' but don't want to have substring 'dept2:' in output. How to compose such regex? (8 Replies)
Hi all!
Thanks for taking the time to view this!
I want to grep out all lines of a file that starts with pattern 1 but also does not match with the second pattern.
Example:
Drink a soda
Eat a banana
Eat multiple bananas
Drink an apple juice
Eat an apple
Eat multiple apples
I... (8 Replies)
I am using awk to match columns and output based on those matches. For some reason it is not printing matching columns, am I missing something?
Operating system - windows with cygwin.
Command that I am using:
sed 's/]*,]*/,/g' $tempdir/file1 > $tempdir/file1.$$ && awk -F, 'FNR==NR{f2=$2... (7 Replies)
Discussion started by: dis0wned
7 Replies
LEARN ABOUT CENTOS
yum-verify
yum-verify(1)yum-verify(1)NAME
yum verify plugin
SYNOPSIS
yum [options] verify [package ...]
DESCRIPTION
This plugin extends yum with some commands that give verification information on the installed system, much like rpm -V. You can change how
the verification is done and which files it applies to.
added yum commands are:
* verify
* verify-rpm
* verify-all
all of which take the same arguments as the list yum command, obviously you can only verify packages that are installed on the system.
verify Is the generic verification command, and is intended to give the most useful output. It removes all false matches due to multilib
and ignores changes to configuration files by default.
verify-rpm
Is meant to be 100% compatible with rpm -V output, and any differences should be considered as bugs.
verify-all
Is used to list all the differences, including some that rpm itself will ignore.
GENERAL OPTIONS
These are the options added to yum that are available in the verify commands. They are:
--verify-filenames
This option is used to limit the filenames that the packages will perform verification.
--verify-configuration-files
This option is only useful in the generic verify command, and will enable/disable verification of files that are tagged as configu-
ration files.
EXAMPLES
To do the same as rpm -Va, use:
yum verify-rpm
To verify the packages starting with the name yum, use:
yum verify 'yum*'
To verify the binaries that are in a bin directory, use:
yum verify --verify-filenames='*bin/*'
To verify all include files, Eg. for multilib problems, use:
yum verify-all --verify-filenames='/usr/include/*'
SEE ALSO
yum (8)
yum.conf (5)
the verify.conf file in /etc/yum/plugins.d
AUTHORS
James Antill <james.antill@redhat.com>.
BUGS
Currently yum-verify does not do verify-script checking or dependency checking,
only file checking.
Should you find any other bugs, you should first
consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if unsuccessful
in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org.
To file a bug use http://bugzilla.redhat.com for Fedora/RHEL/Centos
related bugs and http://yum.baseurl.org/report for all other bugs.
James Antill 01 March 2008 yum-verify(1)