---

How to Find Out File Types in Linux

Tecmint: The easiest way to determine the type of a file on any operating system is usually to look at its extension (for instance .xml, .sh, .c, .tar etc..). What if a file doesn’t have an extension, how can you determine its type?

Get the Free Newsletter!

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