correctly read ..
alright thanks much .. =))
On Sat, Jun 8, 2024, 2:01 AM Greg Wooledge <greg@wooledge.org> wrote:
> On Fri, Jun 07, 2024 at 10:33:20PM +0200, alex xmb sw ratchev wrote:
> > i have
> > /bin/sh :
> > #!/bin/bash
> > exec bash "$@"
>
> I'm reading this as "I replaced the /bin/sh file or symlink on my
> computer with a script that contains two lines".
>
> This is not going to work. Linux does not permit "chaining" shebangs.
> That is, you cannot have a script which begins with #!/bin/sh if your
> /bin/sh has another shebang of its own. It won't work.
>
>