How to find out original extension of a file in a terminal or online
pls help me

Recommended Answers

All 2 Replies

You will probably need to open the file in a hex editor and look at the first 2 to 3 bytes to figure out the file type or maybe you can just open it in a text editor. After that, you can google those characters to find out the file type and extension.

Try the "file" command. It'll look up the magic number and try to tell you what program created the file.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.