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