156
I Use This!
Moderate Activity
Analyzed about 9 hours ago. based on code collected about 9 hours ago.

Project Summary

File tests each argument in an attempt to classify it. There are three sets of tests, performed in this order: filesystem tests, magic number tests, and language tests. The first test that succeeds causes the file type to be printed.
Starting with version 4, the file command is not much more than a wrapper around the "magic" library.

Tags

classifiers command_line shell tool

BSD 3-clause "New" or "Revised" License
Permitted

Commercial Use

Modify

Distribute

Place Warranty

Forbidden

Hold Liable

Use Trademarks

Required

Include Copyright

Include License

These details are provided for information only. No information here is legal advice and should not be used as such.

Project Security

Vulnerabilities per Version ( last 10 releases )

Project Vulnerability Report

Security Confidence Index

Poor security track-record
Favorable security track-record

Vulnerability Exposure Index

Many reported vulnerabilities
Few reported vulnerabilities

Did You Know...

  • ...
    55% of companies leverage OSS for production infrastructure
  • ...
    learn about Open Hub updates and features on the Open Hub blog
  • ...
    65% of companies leverage OSS to speed application development in 2016
  • ...
    search using multiple tags to find exactly what you need
About Project Security

Languages

C
91%
7 Other
9%

30 Day Summary

Oct 27 2025 — Nov 26 2025

12 Month Summary

Nov 26 2024 — Nov 26 2025
  • 153 Commits
    Down -52 (25%) from previous 12 months
  • 3 Contributors
    Up + 1 (50%) from previous 12 months