Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
File Signatures Table
(
garykessler.net
)
35 points
by
espeed
on Oct 23, 2018
|
hide
|
past
|
favorite
|
2 comments
brad0
on Oct 23, 2018
[–]
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
on Oct 23, 2018
|
parent
[–]
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.
Consider applying for YC's Summer 2025 batch! Applications are open till May 13
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://linux.die.net/man/1/file