16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

file<br />

Tests not appearing in the cell are not applied.<br />

c. The third column gives whether the default context-sensitive tests (built into<br />

the file command) are applied, given the options specified in the first<br />

column.<br />

3. If -d option is specified together with -E option, the AMODE tests will not be<br />

applied. If -M magic option is specified alone, the AMODE tests will not be<br />

applied.<br />

4. The standard output messages of file utility will contain the specified strings, but<br />

not limited to, listed in the following table.<br />

Table 12. Output messages of file utility<br />

If file is: Will contain the string: Notes<br />

Nonexistent cannot open<br />

Block special block special a<br />

Character special character special a<br />

Directory directory a<br />

FIFO fifo a<br />

Socket socket a<br />

Symbolic link symbolic link to a<br />

External symbolic link external link to a<br />

Regular file regular file a,b<br />

Empty regular file empty c<br />

Regular file that cannot be<br />

read<br />

cannot open c<br />

Executable binary executable d,f<br />

ar archive library (see ar ) archive d,f<br />

Extended cpio format (see<br />

pax)<br />

Extended tar format (see<br />

ustar in pax)<br />

cpio archive d,f<br />

tar archive d,f<br />

Shell script commands text e,f<br />

C-language source c program text e,f<br />

FORTRAN source fortran program text e,f<br />

Regular file whose type<br />

cannot be determined<br />

Notes:<br />

data<br />

a. This is a file attribute test.<br />

b. This test is applied only if the -i option is specified.<br />

c. This test is applied only if the -i option is not specified.<br />

d. This is a default position-sensitive test.<br />

e. This is a default context-sensitive test.<br />

f. Default position-sensitive tests and default context-sensitive tests are not<br />

applied if the -M magic option is specified unless the -d option is also<br />

specified.<br />

280 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!