Skip site navigation (1)Skip section navigation (2)

FreeBSD Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
ACCESS(1)               FreeBSD General Commands Manual              ACCESS(1)

NAME
       access - determine whether a file can be accessed

SYNOPSIS
       access -mode file

DESCRIPTION
       Exit successfully if file can be accessed with the specified mode.
       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 access 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
       access accepts the following additional options:

       --help Print help message and exit.

       --version
              Print version information and exit.

SEE ALSO
       access(2)

Kpathsea 3.2                    4 January 1998                       ACCESS(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=access&manpath=FreeBSD+10.3-RELEASE+and+Ports>

home | help