Linux Binary Extension

I have been told multiple times over the internet that a linux binary has the ".elf" postfix. However, all the programs that I've compiled/linked have been spat out with no postfix whatsoever. Is this a problem? Is thunar simply hiding the .elf extension? Would it be a problem if I just renamed 'filename' to 'filename.elf' ???

Thanks in advance.
Linux binaries usually have no extension, elf is the binary format.
Edit: You can give the binary any extension you like as long as the executable permission is set on the binary it doesn't matter. The only extension (specific to binaries) I've seen on linux is .bin
Last edited on
Thank you for explaining. When I 'hacked' my Nintendo Wii a few years ago, it required use of .elf files, so I put 2 and 2 together and made this assumption...I guess sometimes, 2+2 != 4, lol.
Topic archived. No new replies allowed.