# phpman > info > getcap

[GETCAP(8)](https://www.chedong.com/phpMan.php/man/GETCAP/8/markdown)                   System Manager's Manual                  [GETCAP(8)](https://www.chedong.com/phpMan.php/man/GETCAP/8/markdown)

NAME
       getcap - examine file capabilities

SYNOPSIS
       getcap [-v] [-n] [-r] [-h] filename [ ... ]

DESCRIPTION
       getcap displays the name and capabilities of each specified file.

OPTIONS
       -h  prints quick usage.

       -n  prints  any  non-zero user namespace root user ID value found to be
           associated with a file's capabilities.

       -r  enables recursive search.

       -v  display all searched entries, even if the  have  no  file-capabili-
           ties.

       filename
           One file per line.

REPORTING BUGS
       Please report bugs via:

       <https://bugzilla.kernel.org/buglist.cgi?component=lib>-
       cap&list_id=1047723&product=Tools&resolution=---

SEE ALSO
       [cap_get_file(3)](https://www.chedong.com/phpMan.php/man/capgetfile/3/markdown), [cap_to_text(3)](https://www.chedong.com/phpMan.php/man/captotext/3/markdown),  [capabilities(7)](https://www.chedong.com/phpMan.php/man/capabilities/7/markdown),  [user_namespaces(7)](https://www.chedong.com/phpMan.php/man/usernamespaces/7/markdown),
       [setcap(8)](https://www.chedong.com/phpMan.php/man/setcap/8/markdown)

                                  2020-01-07                         [GETCAP(8)](https://www.chedong.com/phpMan.php/man/GETCAP/8/markdown)
