# appres(1) - man - phpMan

[APPRES(1)](https://www.chedong.com/phpMan.php/man/APPRES/1/markdown)                              General Commands Manual                             [APPRES(1)](https://www.chedong.com/phpMan.php/man/APPRES/1/markdown)



## NAME
       appres - list X application resource database

## SYNOPSIS
       **appres** [class [instance]] [-1] [-V] [toolkitoptions]

## DESCRIPTION
       The  _appres_ program prints the resources seen by an application (or subhierarchy of an appli‐
       cation) with the specified _class_ and _instance_ names.  It can be used to determine  which  re‐
       sources a particular program will load.  For example,

            % appres  XTerm

       will  list the resources that any _xterm_ program will load.  If no application class is speci‐
       fied, the class _-AppResTest-_ is used.

       To match a particular instance name, specify an instance  name  explicitly  after  the  class
       name, or use the normal Xt toolkit option.  For example,

            % appres  XTerm  myxterm
       or
            % appres  XTerm  -name  myxterm

       To list resources that match a subhierarchy of an application, specify hierarchical class and
       instance names.  The number of class and instance components must be equal, and the  instance
       name should not be specified with a toolkit option.  For example,

            % appres  Xman.TopLevelShell.Form  xman.topBox.form

       will  list  the  resources  of  widgets of _xman_ topBox hierarchy.  To list just the resources
       matching a specific level in the hierarchy, use the -1 option.  For example,

            % appres  XTerm.VT100  xterm.vt100  -1

       will list the resources matching the _xterm_ vt100 widget.

       The -V option prints the appres command version and exits.

## SEE ALSO
       [X(7)](https://www.chedong.com/phpMan.php/man/X/7/markdown), [xrdb(1)](https://www.chedong.com/phpMan.php/man/xrdb/1/markdown), [listres(1)](https://www.chedong.com/phpMan.php/man/listres/1/markdown)

## AUTHOR
       Jim Fulton, MIT X Consortium



X Version 11                                appres 1.0.5                                   [APPRES(1)](https://www.chedong.com/phpMan.php/man/APPRES/1/markdown)
