{
    "content": [
        {
            "type": "text",
            "text": "# getcap(8) (man)\n\n**Summary:** getcap - examine file capabilities\n\n**Synopsis:** getcap [-v] [-n] [-r] [-h] filename [ ... ]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -h | — | — |  |\n| -n | — | — | file's capabilities. |\n| -r | — | — |  |\n| -v | — | — | filename One file per line. |\n\n## See Also\n\n- capgetfile(3)\n- captotext(3)\n- capabilities(7)\n- usernamespaces(7)\n- setcap(8)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (2 lines)\n- **OPTIONS** (1 lines) — 4 subsections\n  - -h (1 lines)\n  - -n (2 lines)\n  - -r (1 lines)\n  - -v (3 lines)\n- **REPORTING BUGS** (5 lines)\n- **SEE ALSO** (5 lines)\n\n## Full Content\n\n### NAME\n\ngetcap - examine file capabilities\n\n### SYNOPSIS\n\ngetcap [-v] [-n] [-r] [-h] filename [ ... ]\n\n### DESCRIPTION\n\ngetcap displays the name and capabilities of each specified file.\n\n### OPTIONS\n\n#### -h\n\n#### -n\n\nfile's capabilities.\n\n#### -r\n\n#### -v\n\nfilename\nOne file per line.\n\n### REPORTING BUGS\n\nPlease report bugs via:\n\nhttps://bugzilla.kernel.org/buglist.cgi?component=libcap&listid=1047723&product=Tools&reso‐\nlution=---\n\n### SEE ALSO\n\ncapgetfile(3), captotext(3), capabilities(7), usernamespaces(7), setcap(8)\n\n\n\n2020-01-07                                    GETCAP(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "getcap",
        "section": "8",
        "mode": "man",
        "summary": "getcap - examine file capabilities",
        "synopsis": "getcap [-v] [-n] [-r] [-h] filename [ ... ]",
        "flags": [
            {
                "flag": "-h",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-n",
                "long": null,
                "arg": null,
                "description": "file's capabilities."
            },
            {
                "flag": "-r",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-v",
                "long": null,
                "arg": null,
                "description": "filename One file per line."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "capgetfile",
                "section": "3",
                "url": "https://www.chedong.com/phpMan.php/man/capgetfile/3/json"
            },
            {
                "name": "captotext",
                "section": "3",
                "url": "https://www.chedong.com/phpMan.php/man/captotext/3/json"
            },
            {
                "name": "capabilities",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/capabilities/7/json"
            },
            {
                "name": "usernamespaces",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/usernamespaces/7/json"
            },
            {
                "name": "setcap",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/setcap/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-h",
                        "lines": 1,
                        "flag": "-h"
                    },
                    {
                        "name": "-n",
                        "lines": 2,
                        "flag": "-n"
                    },
                    {
                        "name": "-r",
                        "lines": 1,
                        "flag": "-r"
                    },
                    {
                        "name": "-v",
                        "lines": 3,
                        "flag": "-v"
                    }
                ]
            },
            {
                "name": "REPORTING BUGS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}