Unix/Linux Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

getting patch information

Solaris


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 06-22-2005
ddk2oo5 ddk2oo5 is offline
Registered User
 
Join Date: Jun 2005
Last Activity: 20 March 2009, 10:02 AM EDT
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
getting patch information

Can we get a script to find out a perticular patch installed on solaris 8, 9.
Sponsored Links
    #2  
Old Unix and Linux 06-22-2005
Just Ice's Unix or Linux Image
Just Ice Just Ice is offline Forum Advisor  
Lights on, brain off.
 
Join Date: Mar 2005
Last Activity: 20 September 2013, 10:59 AM EDT
Location: Philadelphia metro
Posts: 958
Thanks: 3
Thanked 67 Times in 60 Posts
no need for a script ... just do ... (replace 123456-00 with the actual patch number and not the double quotes around it) ...


Code:
showrev -p | awk '$2 = "123456-00"'

or ... if you run into an error with patches having too many fields ...


Code:
showrev -p | grep 123456 | awk '$2 == "123456-00"'

Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
DST Patch sandeepkv Solaris 1 03-09-2007 09:12 AM
Patch-o-matic (patch for iptable) for linux2.4.08 & iptable1.2.7a Rakesh Ranjan IP Networking 0 11-03-2005 11:29 AM
Sun Patch Pro finster UNIX for Dummies Questions & Answers 1 07-30-2004 02:03 AM
patch tamemi UNIX for Dummies Questions & Answers 6 07-23-2003 09:31 AM



All times are GMT -4. The time now is 04:47 AM.