file
Identify a file's format by scanning binary data for patterns
file
Description
This is Release 5.x of Ian Darwin's (copyright but distributable) file(1) command, an implementation of the Unix File(1) command. It knows the 'magic number' of several thousands of file types. This version is the standard 'file' command for Linux, *BSD, and other systems. (See 'patchlevel.h' for the exact release number).
Install
Channel stable v5.43-2
This app is curated in HaikuPorts. Install it from there, it is already available in HaikuDepot.
pkgman install file
Careful: the file comes from HaikuPorts' own server, but installing it by hand is not the way in. It is pkgman that resolves the dependencies an .hpkg does not carry with it, and a package installed on its own may simply not run. Use the pkgman command above, unless you know exactly why you want the file.