Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

The file program

📅 2013-Jun-09 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

file is one of those Linux utilities that is not popular, but useful to know. It reads the magic pattern of a file and determines the type of the file. It might be useful to try on files that you come across with no extensions or with extensions that you are not familiar with.

Tried with: Ubuntu 12.04 LTS