[OpenIndiana-discuss] List of installed pkgs begining with pkg:/

Oscar del Rio delrio at mie.utoronto.ca
Tue Nov 1 13:44:06 UTC 2011


On 11/ 1/11 09:33 AM, Harry Putnam wrote:
> How can I get a list of installed pkgs that begin with pkg:/[...]
>
> I thought maybe something like:
>
>     pkg list |awk '{print $2}' |uniq sort -o uniq_installed
>

How about 'pkg info'?

pkg info | awk '/pkg:/ { print $2 }'



More information about the OpenIndiana-discuss mailing list