KPSEACCESS(1) General Commands Manual KPSEACCESS(1)
kpseaccess - determine whether a file can be accessed
kpseaccess mode file
Exit successfully if file can be accessed with the specified mode. The
mode is an optional dash (`-') followed by zero or more letters of rwx,
where r is for readable, w is for writable, and x is for executable.
The difference between kpseaccess and test is that the latter looks at
the permission bits, while the former checks using the access(2) system
call. This makes a difference when file systems have been mounted
kpseaccess accepts the following options:
--help Print help message and exit.
Print version information and exit.
Kpathsea 6.2.3 1 March 2011 KPSEACCESS(1)
Man Pages Copyright Respective Owners. Site Copyright (C) 1994 - 2022
All Rights Reserved.