News for hackers. Stuff that matters.
Re:Demystifying the (Shebang): Kernel Adventures by ckatri on Thursday April 10, 2025 @03:28PM (#43647278)
The best and most common uses for this are Wine and qemu-static.

For example, the following (which I grabbed from Wikipedia) `:DOSWin:M::MZ::/usr/bin/wine:` will register `/usr/bin/wine` to run as the wrapper for any .exe that gets executed, with no extra config needed. It simply sees that you tried to run a PE file and will run it in wine.

Re:Demystifying the (Shebang): Kernel Adventures by Imustaskforhelp on Friday April 11, 2025 @12:44AM (#43650577)
okay so now you can have some command which you can run which would do somethings with procfs/what not and now you can simply run any jar or exe file as it is....

That is really nice actually!

this could theoretically be used as a scriptesto alternative but it requires some command to run , I was hoping there was a way to use something other than shebang