BSD Ports

sysutils/file 5.46 DragonFly

Utility to determine file type

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE
Categories
sysutils
Package size
403.8 KiB, 10328.0 KiB installed

Description

File tests each argument in an attempt to classify it. There are three sets of tests, performed in the following order:

  • filesystem tests
  • magic number tests
  • language tests

The first test that succeeds causes the file type to be printed.

In the other systems

SystemPortVersion
DragonFlysysutils/file5.46
FreeBSDsysutils/file5.46
NetBSDsysutils/file5.42

Install

Binary package:

pkg install file

From DPorts:

cd /usr/dports/sysutils/file && make install clean

Dependencies