LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

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

Rep: Reputation: 15
sh file.sh = bad interpreter


hello,
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.

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

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
Comarez
Member
 
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
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
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.


Håkan
 
  


Reply


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


All times are GMT -5. The time now is 05:21 AM.

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