🧀 Learn Linux

Advanced · Organize files

file: Determine file type

Put in free practice

Syntax

file path…

Examples

file deploy.sh

Usage and sandbox support

The sandbox shows types by file model; real file uses content and magic number identification.

Hands-on exercises

Full documentation ↗

Related commands