Operator Meaning
-r Returns true ifthis file is readable by the effective ID (user ID and group ID).
-w Returns true ifthis file is writable by the effective ID (user ID and group ID).
-x Returns true ifthis file is executable by the effective ID (user ID and group ID).
-o Returns true ifthis file is owned by the effective ID (user ID and group ID).
-R Returns true ifthis file is readable by the login ID (real user ID and group ID).
-W Returns true ifthis file is writable by the login ID (real user ID and group ID).
-X Returns true ifthis file is executable by the login ID (real user ID and group ID).
-O Returns true ifthis file is owned by the login ID (real user ID and group ID).