Copyright (C) 2000-2012 |
GNU Info (sh-utils.info)File type testsFile type tests --------------- These options test for particular types of files. (Everything's a file, but not all files are the same!) `-b FILE' True if FILE exists and is a block special device. `-c FILE' True if FILE exists and is a character special device. `-d FILE' True if FILE exists and is a directory. `-f FILE' True if FILE exists and is a regular file. `-h FILE' `-L FILE' True if FILE exists and is a symbolic link. `-p FILE' True if FILE exists and is a named pipe. `-S FILE' True if FILE exists and is a socket. `-t [FD]' True if FD is opened on a terminal. If FD is omitted, it defaults to 1 (standard output). automatically generated by info2www version 1.2.2.9 |