Metadata at the start of files that indicates it's type. Microsoft Windows does not have magic numbers, and therefore every file must be suffixed with an extension, such as .exe or .bat
Real operating systems, like Linux, make use of magic numbers and therefore do not have this problem, and can thus produce sensible file names. Note, file extensions are often used anyway.
Previous | Index | Next