1KPSEACCESS(1)               General Commands Manual              KPSEACCESS(1)
2
3
4

NAME

6       kpseaccess - determine whether a file can be accessed
7

SYNOPSIS

9       kpseaccess [-rwx] file
10

DESCRIPTION

12       Exit successfully if file can be accessed with the specified mode.  The
13       mode is one or more letters of rwx, where r is for readable, w  is  for
14       writable, and x is for executable.
15
16       The  difference between kpseaccess and test is that the latter looks at
17       the permission bits, while the former checks using the access(2) system
18       call.   This  makes  a  difference  when file systems have been mounted
19       read-only.
20

OPTIONS

22       kpseaccess accepts the following additional options:
23
24       --help Print help message and exit.
25
26       --version
27              Print version information and exit.
28

SEE ALSO

30       access(2)
31
32
33
34Kpathsea 3.5.6                  4 January 1998                   KPSEACCESS(1)
Impressum