[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 6

which_fileset Command

Purpose

Searches the /usr/lpp/bos/AIX_file_list file for a specified file name or command. This command only applies to AIX Version 4.2.1 or later.

Syntax

which_filesetFile  ]

Description

The which_fileset command searches the /usr/lpp/bos/AIX_file_list file for a specified file name or command name, and prints out the name of the fileset that the file or command is shipped in.

The /usr/lpp/bos/AIX_file_list file is large and not installed automatically. You must install the bos.content_list fileset to receive this file.

The File parameter can be the command name, the full path name, or a regular expression search pattern.

Examples

  1. To display which fileset the dbx command is shipped in, enter:
    which_fileset dbx
    The screen displays the following:
    /usr/bin/dbx > /usr/ccs/bin/dbx             bos.adt.debug 4.2.1.0
    /usr/ccs/bin/dbx                            bos.adt.debug 4.2.1.0
  2. To display all commands and paths containing the sendmail string, enter:
    which_fileset sendmail.*
    T he screen displays the following:
    /usr/ucb/mailq > /usr/sbin/sendmail    bos.compat.links 4.2.0.0
    /usr/ucb/newaliases > /usr/sbin/sendmail bos.compat.links 4.2.0.0
    /usr/lib/nls/msg/Ca_ES/sendmail87.cat  bos.msg.Ca_Es.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/ca_ES/sendmail87.cat  bos.msg.ca_Es.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/cs_CZ/sendmail87.cat  bos.msg.cs_CZ.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/De_DE/sendmail87.cat  bos.msg.De_DE.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/de_DE/sendmail87.cat  bos.msg.de_DE.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/En_US/sendmail87.cat  bos.msg.En_US.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/en_US/sendmail87.cat  bos.msg.en_US.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/Es_ES/sendmail87.cat  bos.msg.Es_ES.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/es_ES/sendmail87.cat  bos.msg.es_ES.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/Fr_FR/sendmail87.cat  bos.msg.Fr_FR.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/fr_FR/sendmail87.cat  bos.msg.fr_FR.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/hu_HU/sendmail87.cat  bos.msg.hu_HU.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/It_IT/sendmail87.cat  bos.msg.It_IT.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/it_IT/sendmail87.cat  bos.msg.it_IT.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/Ja_JP/sendmail87.cat  bos.msg.Ja_JP.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/ja_JP/sendmail87.cat  bos.msg.ja_JP.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/ko_KR/sendmail87.cat  bos.msg.ko_KR.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/pl_PL/sendmail87.cat  bos.msg.pl_PL.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/ru_RU/sendmail87.cat  bos.msg.ru_RU.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/Sv_SE/sendmail87.cat  bos.msg.Sv_SE.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/sv_SE/sendmail87.cat  bos.msg.sv_SE.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/ZH_CN/sendmail87.cat  bos.msg.ZH_CN.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/zh_CN/sendmail87.cat  bos.msg.zh_CN.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/Zh_TW/sendmail87.cat  bos.msg.Zh_TW.net.tcp.client 4.2.0.0
    /usr/lib/nls/msg/zh_TW/sendmail87.cat  bos.msg.zh_TW.net.tcp.client 4.2.0.0
    /etc/sendmail.cf                       bos.net.tcp.client.4.2.1.0
    /usr/lib/sendmail > /usr/sbin/sendamil bos.net.tcp.client.4.2.1.0
    /usr/sbin/mailq > /usr/sbin/sendamil   bos.net.tcp.client.4.2.1.0
    /usr/sbin/newaliases > /usr/sbin/sendmail bos.net.tcp.client.4.2.1.0
    /usr/sbin/sendmail                     bos.net.tcp.client.4.2.1.0
    
  3. To find where the /usr/sbin/which_fileset command is shipped, enter:
    which_fileset /usr/bin/which_fileset
    The screen displays:
    /usr/sbin/which_fileset      bos.rte.install 4.2.1.0

[ Previous | Next | Contents | Glossary | Home | Search ]