3 ms·
Your script should have "#!/bin/bash" at the top, which tells the shell what interpreter you want it ran with. So, yes?
by dsl 14y ago
Your script should have "#!/bin/bash" at the top, which tells the shell what interpreter you want it ran with. So, yes?
- etanol 14y agoIt is the kernel the one that interprets shebangs, not the shell: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/fs/binfmt_script.c?id=v3.8 http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.g...