Unix/Linux Go Back    



How to check tar version in Solaris?

UNIX for Beginners Questions & Answers




Kindly Note - This is a Single User Post by Forum Member gull04 Regarding:
How to check tar version in Solaris?.
Please Follow The Primary Link Above to View the Full Discussion.

   
Old Unix and Linux 5 Days Ago   -   Original Discussion by svijayas
gull04's Unix or Linux Image
gull04 gull04 is offline Forum Advisor  
Registered User
 
Join Date: Dec 2004
Last Activity: 12 December 2017, 7:36 AM EST
Location: Isle-of-Skye
Posts: 720
Thanks: 18
Thanked 129 Times in 114 Posts
Hi,

I tend to be a little less discerning when searching through a pkginfo output as I've been caught out by things in the past.

What I tend to use is a search as follows, a bit more work to check but it does check if the package might impact things.


Code:
pkginfo -l | nawk 'BEGIN { FS = "\n"; RS = "" }$0 ~ search { print $0 }' search=tar - | egrep 'PKGINST|VERSION'

Regards

Gull04

Last edited by gull04; 5 Days Ago at 07:11 AM.. Reason: Spelling Mistake