Operator Meaning
-f Returns true if this file a plain file.
-d Returns true if this file is a directory.
-l Returns true if this file is a symbolic link (for Unix systems).
-T Returns true if this file is a text file.
-B Returns true if this file is a binary file.
-b Returns true if this file is a block special file.
-c Returns true if this file is a character special file.