Link to home
Start Free TrialLog in
Avatar of jculkincys
jculkincysFlag for United States of America

asked on

/bin/bash^M: bad interpreter

While trying to run a bash script I get the following error :/bin/bash^M: bad interpreter

Warning: I did edit the file in Windows with notepad.

If there a fix for this?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of JohnK813
JohnK813
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jculkincys

ASKER

It sure is me.

Is this John Kanka aka webmaster of the greatest website in the world (http://kankasports.blogspot.com/ ) aka my idol

You are truly an EXPERT!!!
Why, it sure is me too.  I was wondering when I would run into someone I knew on here....

Are you dabbling in Linux for work or for fun?
Both - I am a sysadmin now - or at least thats what boss claims.

I dig bash and wish I was better at it
Nice.

I'm stuck in a Windows environment, but I'd probably let batch files and VBS scripts do my entire job if I could get away with it.