file
5.46Utility to determine file type
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.
Origin: sysutils/file
Category: sysutils
Size: 10.1MiB
License: BSD2CLAUSE
Maintainer: jharris@widomaker.com
Dependencies: 0 packages
Required by: 2 packages
Website: darwinsys.com/file
$
pkg install fileRequired By (2 packages)
Articles & Guides
comparisonBest Text Editors for FreeBSD in 20262026-03-29comparisonBest Web Servers for FreeBSD Compared2026-03-29comparisonFreeBSD vs Debian: Server Comparison for Sysadmins2026-03-29comparisonFreeBSD vs Linux: Which Should You Choose for Your Server?2026-03-29comparisonTrueNAS vs Unraid: NAS OS Comparison for 20262026-03-29comparisonZFS vs UFS on FreeBSD: Filesystem Comparison2026-03-29tutorialHow to Set Up Cron Jobs and Periodic Tasks on FreeBSD2026-03-29tutorialHow to Update FreeBSD: System and Packages Guide2026-03-29tutorialHow to Migrate from Linux to FreeBSD: Complete Guide2026-03-29tutorialHow to Set Up ISC DHCP Server on FreeBSD (Updated 2026)2026-03-29tutorialHow to Set Up a FreeBSD Router and Gateway2026-03-29tutorialHow to Configure NAT on FreeBSD with PF2026-03-29tutorialHow to Set Up OpenVPN on FreeBSD2026-03-29tutorialHow to Set Up Samba File Sharing on FreeBSD2026-03-29tutorialHow to Set Up WireGuard VPN on FreeBSD2026-03-29tutorialHow to Set Up Fail2ban on FreeBSD2026-03-29tutorialHow to Harden a FreeBSD Server: Complete Security Checklist2026-03-29guideFreeBSD Backup Strategy: Complete Guide2026-03-29tutorialHow to Install Nextcloud on FreeBSD2026-03-29tutorialHow to Set Up NGINX on FreeBSD for Production2026-03-29
More in sysutils
py311-azure-cli-base1.0.0
Shared namespace for py-azure-* portspy311-psutil7.1.3
Process utilities module for Pythonpolkit127
Framework for controlling access to system-wide componentsp5-File-Which1.27
Portable implementation of which(1) in Perlkf6-kwallet6.22.0
Safe desktop-wide storage for passwordsphp84-fileinfo8.4.16
The fileinfo shared extension for phprubygem-bundler2.7.2,1
Tool that manages gem dependencies for Ruby applicationsphp84-posix8.4.16
The posix shared extension for phppy311-filelock3.20.1
Platform independent file lockpy311-distro1.9.0
OS platform information API