3 ms·
Subjetive, indeed. But unless I am missing something, the interpreter to be used should be determined by the shebang within the script though?
by Octabrain 4y ago
Subjetive, indeed. But unless I am missing something, the interpreter to be used
should be determined by the shebang within the script though?
- selectnull 4y agoExtension or not, .sh or .bash: definitely subjective. That was the intention of my comment. Because the rest of the post (or most of it for sure) is not subjective.
- erlkonig 4y agoIt's the effect of the extension on USER behavior that's the problem, the OS doesn't care.
- Octabrain 4y agoYes, I get it. But in my case I simply give u+x permissions to the script and then run "./script.sh" and then the script will be executed with the interpreter defined in the shebang.