Tuesday, August 11, 2009

Pkg tips for OpenSolaris

Often times, a command I want to use is missing while working with zones. That or a library, or an extension. Pkg includes a search function that will completely take care of this for you. Just type

pkg search "named-checkzone"

where in this case I'm trying to find what package includes the command "named-checkzone" and hit enter. Pkg will tell you what package you need!

1 comment:

  1. If you're looking for a package it can be easier to find the package by using the -p option like this: "pkg search -p string". Otherwise your results will include files, directories, and other meta results.

    ReplyDelete