---

Unix: Under the spell of magic numbers

If you’ve ever wondered how Unix systems identify files, you might be surprised to learn that file names really aren’t an important factor. Unix systems reach into files looking for special codes called “magic numbers” to figure out what your files really are. They also examine other file content to pick out additional details.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis