Dr Andrew Scott G7VAV

My photo
 
August 2025
Mo Tu We Th Fr Sa Su
28 29 30 31 1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
1 2 3 4 5 6 7


KPSEACCESS

Section: User Commands (1)
Updated: 4 January 1998
Index Return to Main Contents
 

NAME

kpseaccess - determine whether a file can be accessed  

SYNOPSIS

kpseaccess [-rwx] file  

DESCRIPTION

Exit successfully if file can be accessed with the specified mode. The mode is one 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 additional options:
--help
Print help message and exit.
--version
Print version information and exit.
 

SEE ALSO

access(2)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/