Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

CentOS 5.6

kpseaccess(1)


KPSEACCESS

KPSEACCESS

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO

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)



kpseaccess(1)