ACCESSSection: User Commands (1)Updated: 4 January 1998 Index NAMEaccess - determine whether a file can be accessedSYNOPSISaccess -mode fileDESCRIPTIONExit 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. OPTIONSaccess accepts the following additional options:
SEE ALSOaccess(2)Index
Created from the Linux Online Manual Pages |