BSD Ports

sysutils/file 5.42 NetBSD

Tool for determining file type

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
2-clause-bsd
Categories
sysutils
Package size
376.4 KiB, 8131.5 KiB installed

Description

File tests each argument in an attempt to classify it. There are three sets of tests, performed in this order: file system tests, magic number tests, and language tests.

This package also includes the magic number recognition libraries.

This implementation of file(1) is the standard "file" command for Linux, *BSD, and other systems. It (as well as the magic file) was originally written by Ian Darwin and is now maintained by a group of developers lead by Christos Zoulas.

In the other systems

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

Install

Binary package:

pkgin install file

From pkgsrc:

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

Dependencies