Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-11-2004, 05:24 AM   #1
Registered: Oct 2003
Location: Belgium
Distribution: Gentoo
Posts: 42

Rep: Reputation: 15
sh = bad interpreter

i just got my first SuSE installation (not my first distro) and i experienced a problem when i tried installing flashplayer.
when i give the command "./flashplayer-installer" to start the install, bash returns the following error:
bash: ./flashplayer-installer: /bin/sh: bad interpreter: access denied

i tried to chmod the file but the error remains. I really don't know what to do next, never had such an error before.

Old 01-11-2004, 05:44 AM   #2
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 748

Rep: Reputation: 31
Maybe try downloading it again. If it's just a shell script, make sure it has "#! /bin/bash" at the top. If not, try changing it to that. Your system might not have a link from /bin/sh to /bin/bash (most newer ones do, as they assume you use bash as your interpter). If you use another shell, like csh, you'll probably need to adjust that to point to the csh interpeter. (Actually, you'll likely want to check the file to make sure it conforms to csh, as they are a little different, and can cause problems for files written with another shell in mind.)
Old 01-11-2004, 05:53 AM   #3
Registered: Oct 2003
Location: Belgium
Distribution: Gentoo
Posts: 42

Original Poster
Rep: Reputation: 15
hmm yes, i solved it with: sh flashplayer-installer
well, now i got to find mozilla's intallation path...
Old 01-11-2004, 06:33 AM   #4
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
The standard Mozilla lib directory is /usr/lib/mozilla and the plugins dir is /usr/lib/mozilla/plugins, but your distribution may have it elsewhere.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
bad interpreter: No such file or directory EcLip$e Linux - General 34 10-07-2013 03:11 AM
: bad interpreter: No such file or directory ciberrust Linux - Networking 10 09-09-2010 06:51 AM
Can't execute a file since bad interpreter gopikrish Linux - Newbie 2 08-20-2004 08:52 PM
: bad interpreter: No such file or directory lnx8 Linux - General 4 04-29-2004 02:56 AM
bash: ./fam_mirror: bad interpreter: No such file or directory linuxboy69 Linux - Software 5 12-22-2003 11:35 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration