The file command inspects a file's magic bytes and structure and compares them against a system database. It works consistently on: ...