table of contents
other versions
- stretch 2016.20160513.41080.dfsg-2+deb9u1
- testing 2018.20181218.49446-1
- unstable 2018.20181218.49446-2
- experimental 2019.20190605.51237-1
KPSEACCESS(1) | General Commands Manual | KPSEACCESS(1) |
NAME¶
kpseaccess - determine whether a file can be accessedSYNOPSIS¶
kpseaccess mode fileDESCRIPTION¶
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 read-only.
OPTIONS¶
kpseaccess accepts the following options:- --help
- Print help message and exit.
- --version
- Print version information and exit.
SEE ALSO¶
access(2)1 March 2011 | Kpathsea 6.2.2 |