This shows you the differences between two versions of the page.
|
solaris [2017/01/19 12:03] frank created |
solaris [2017/01/19 12:04] (current) frank |
||
|---|---|---|---|
| Line 160: | Line 160: | ||
| # pkg rebuild-index | # pkg rebuild-index | ||
| - | * Find the Solaris Package which belongs to a given File<code> | + | * Find the Solaris Package which belongs to a given File<code> |
| # pkg search -l /usr/bin/dd | # pkg search -l /usr/bin/dd | ||
| INDEX ACTION VALUE PACKAGE | INDEX ACTION VALUE PACKAGE | ||
| Line 167: | Line 167: | ||
| * Find the package contents | * Find the package contents | ||
| + | |||
| # pkg contents -t file,link,hardlink -o action.name,mode,pkg.size,path,target system/core-os | # pkg contents -t file,link,hardlink -o action.name,mode,pkg.size,path,target system/core-os | ||