HN
Hacker News
Top
New
Best
Ask
Show
Jobs
File Signatures Table | Hacker News Reader
File Signatures Table
garykessler.net
35 points
·
espeed
·
·
2 comments
Open article
Save
View on HN
brad0
·
If you want to find out a file type on the command line there's the file command on linux/macOS:
https://linux.die.net/man/1/file
espeed
(original poster)
·
NB: the file command tries to identify file types via file sigs (magic numbers) stored in /usr/share/file/magic, for more mysterious file types or partials, you'll need to use one of the other methods.
Reply on news.ycombinator.com