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
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.