HPUX query file for package

This is a small post that helps identify file belonging to certain package.

--------------------------Start Of Shell---------------------------

# swlist –l file | grep <path_to__file_name>

# find /var/adm/sw/products -name INFO -exec grep -i <path_to_file_name> +

---------------------------End Of Shell----------------------------

First command will consume considerable amount of time. However, second CLI proves to be fastest way to query file for a package.

Note: We at TechSutram take our ethics very seriously. More information about it can be found here.
Mandar Pise Opinions expressed by techsutram contributors are their own. More details

Mandar is a seasoned software professional for more than a decade. He is Cloud, AI, IoT, Blockchain and Fintech enthusiast. He writes to benefit others from his experiences. His overall goal is to help people learn about the Cloud, AI, IoT, Blockchain and Fintech and the effects they will have economically and socially in the future.

No comments:

Post a Comment

    Your valuable comments are welcome. (Moderated)