{
    "mode": "man",
    "parameter": "kpseaccess",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/kpseaccess/1/json",
    "generated": "2026-05-30T05:10:01Z",
    "synopsis": "kpseaccess mode file",
    "sections": {
        "NAME": {
            "content": "kpseaccess - determine whether a file can be accessed\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "kpseaccess mode file\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Exit  successfully  if file can be accessed with the specified mode.  The mode is an optional\ndash (`-') followed by zero or more letters of rwx,  where  r  is  for  readable,  w  is  for\nwritable, and x is for executable.\n\nThe  difference  between kpseaccess and test is that the latter looks at the permission bits,\nwhile the former checks using the access(2) system call.  This makes a difference  when  file\nsystems have been mounted read-only.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "kpseaccess accepts the following options:\n\n--help Print help message and exit.\n",
            "subsections": [
                {
                    "name": "--version",
                    "content": "Print version information and exit.\n",
                    "long": "--version"
                }
            ]
        },
        "SEE ALSO": {
            "content": "access(2)\n\n\n\nKpathsea 6.3.4/dev                          1 March 2011                               KPSEACCESS(1)",
            "subsections": []
        }
    },
    "summary": "kpseaccess - determine whether a file can be accessed",
    "flags": [
        {
            "flag": "",
            "long": "--version",
            "arg": null,
            "description": "Print version information and exit."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "access",
            "section": "2",
            "url": "https://www.chedong.com/phpMan.php/man/access/2/json"
        }
    ]
}