Hacker News new | past | comments | ask | show | jobs | submit login

https://en.wikipedia.org/wiki/DOS_MZ_executable

MZ is the magic number at the start of the file.

Although gp probably meant a PE executable [0] which (typically) start with a stub MZ executable telling DOS users to run it under Windows. Because of this they still have a MZ magic number.

[0] https://en.wikipedia.org/wiki/Portable_Executable




OK, thanks I thought I screwed up.

I have recently been working on a command line tool and the windows version is called mz.exe. On Linux it is just 'mz', just a coincidence. I was concerned this name collision might cause problems, but that is fine.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: