You are here

Find to what product a file belongs

To what product/bundle does ls belong:

1st way, its slow:

# swlist -l file |grep /bin/ls
OS-Core.CMDS-MIN: /usr/bin/lsacl
OS-Core.UX-CORE: /usr/bin/ls
OS-Core.UX-CORE: /usr/bin/lsf
OS-Core.UX-CORE: /usr/bin/lsr
OS-Core.UX-CORE: /usr/bin/lsx
PHCO_27415.UX-CORE: /usr/bin/ls
PHCO_27415.UX-CORE: /usr/bin/lsf
PHCO_27415.UX-CORE: /usr/bin/lsr
PHCO_27415.UX-CORE: /usr/bin/lsx

2nd way much quicker, as root:

# find /var/adm/sw/products -name INFO -exec grep -l /bin/ls {} +

Unix Systems: 

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.

Fatal error: Class CToolsCssCache contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (DrupalCacheInterface::__construct) in /homepages/37/d228974590/htdocs/sites/all/modules/ctools/includes/css-cache.inc on line 52