Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

2.9. file

The File utility is used to identify a particular file according to the type of data contained in the file.
  • The file utility can exit with the 0 exit code even if some input files have not been found. This behavior is correct; refer to the file(1) man page for more information.