Logo

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.


Don't be left Behind!
Sign up for daily updates delivered directly to your inbox.
Mandar Pise Opinions expressed by techsutram contributors are their own. More details

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

No comments:

Post a Comment

    Your valuable comments are welcome. (Moderated)


Instagram