Friday, August 27, 2010

Deleting all the blastwave packages on a Solaris node

I needed to delete all of the Blastwave packages on a Solaris node to clean it up and I didn't want to do them one at a time or keep hitting yes.

Here is a quick way that I found:
>> yes | pkgrm $(pkinfo | awk '/CSW/ { print $2}')

No comments:

Post a Comment