1829428 Members
2873 Online
109991 Solutions
New Discussion

Re: patch command

 
SOLVED
Go to solution
Shivkumar
Super Advisor

patch command

What is the command to find whether a particular patch has been installed ?
6 REPLIES 6
James R. Ferguson
Acclaimed Contributor
Solution

Re: patch command

Hi:

# swlist -l patch

Regards!

...JRF...
A. Clay Stephenson
Acclaimed Contributor

Re: patch command

swlist PHCO_26026

This will find PHCO_26026 whether it was installed separately or as part of a bundle.
If it ain't broke, I can fix that.
Geoff Wild
Honored Contributor

Re: patch command

swlist -l patch

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Sandman!
Honored Contributor

Re: patch command

# show_patches | grep -i
HGN
Honored Contributor

Re: patch command

Hi

You would use either

/usr/contrib/bin/show_patches|grep -i PHCO_XXX

or

swlist -l PHXX_XXX

Rgds

HGN
Raj D.
Honored Contributor

Re: patch command

Hi shiv ,

Check this , to see installed patch ,

# swlist -l bundle | grep -i patch_name

# swlist -l product | grep -i patch_name

[ patch_name you have to provide as input ]

Ex: # swlist -l product | grep -i tar
( to see if the tar patch has installed or not ).

Cheers,
Raj.

" If u think u can , If u think u cannot , - You are always Right . "