Next: , Previous: , Up: Command-line commands   [Contents][Index]


17.4.39 file

Command: file is_file_type filename

The file command tests whether the provided filename is the type provided by is_file_type. When the file is of type is_file_type this command will return 0, otherwise it will return non-zero (no output is provided to the terminal).

is_file_type may be one of the following options:


Next: , Previous: , Up: Command-line commands   [Contents][Index]