bad interpreter

Joined
Aug 6, 2004
Messages
19
Reaction score
0
Points
1
Location
Belgium
Your Mac's Specs
Mac Pro 2008 8 core -HDD Raid 0 -20Gb/Ram -ATI5870
Hi,

I've created a script beginning with the #!/bin/bash or #!/bin/sh

but by running ( or trying to run it) I get this message:

#: bad interpreter: No such file or directory

I think it cannot point the path of the interpreter.
I also cannot find it!!!!

Could someone help me??

thx
 

rman


Retired Staff
Joined
Dec 24, 2002
Messages
12,637
Reaction score
168
Points
63
Location
Los Angeles, California
Your Mac's Specs
14in MacBook Pro M1 Max 32GB 2TB
I would try putting a space between the ! and / , as in #! /bin/sh
 
OP
M
Joined
Aug 6, 2004
Messages
19
Reaction score
0
Points
1
Location
Belgium
Your Mac's Specs
Mac Pro 2008 8 core -HDD Raid 0 -20Gb/Ram -ATI5870
rman said:
I would try putting a space between the ! and / , as in #! /bin/sh

Hi rman,

It's seems to work!!!

thx for your reply!
 

rman


Retired Staff
Joined
Dec 24, 2002
Messages
12,637
Reaction score
168
Points
63
Location
Los Angeles, California
Your Mac's Specs
14in MacBook Pro M1 Max 32GB 2TB
Happy it worked. :)
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top