Bad interpreter is the error bash gives when the script isn't executable. Do
chmod +x LinxuxInstaller.bin and it'll probably be happy. (Anyone know why it does this strange thing?) Cheers, Simon -----Original Message----- From: Paul Smith <[EMAIL PROTECTED]> Sent: Dec 12, 2004 9:52 AM To: [EMAIL PROTECTED] Subject: Re: [newbie] /bin/sh: bad interpreter On Sun, 12 Dec 2004 10:28:31 -0600, Mikkel L. Ellertson <[EMAIL PROTECTED]> wrote: > > I am trying to install a program using the following command inside a > > the script installMapleLinuxSU: > > > > sh ./LinuxInstaller.bin > > > > but I get the error: > > > > bash: ./installMapleLinuxSU: /bin/sh: bad interpreter: Permission denied. > > > Check if LinuxInstaller.bin is a script, and if it is, look at the first > line. It should be #!/<something> where <something> is the interpreter > for running the script. One problem that is still fairly common is that > the full path will be provided, but it will be the wrong one for your > system. If it is /usr/local/bin, try changing it to /usr/bin and see if > it works. Or you can run "witch <command>" where <command> is the > interpreter without the path. This will return the path if the command > can be found. Thanks, Mikkel and Todd. Meanwhile, by running LinuxInstaller.bin directly, I was able to install the software I wanted to install. Paul
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
