Results 1 to 3 of 3
Hi there, can anyone explain to me that what is mean by /bin/bash^M: bad interpreter: No such file or directory ?
But my file is really at there..how come it ...
- 10-13-2009 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 5
what is it mean by?
Hi there, can anyone explain to me that what is mean by /bin/bash^M: bad interpreter: No such file or directory ?
But my file is really at there..how come it cannot executable??
- 10-13-2009 #2
Hi and Welcome !
Are you creating script in Windows Box using text editor like notepad and executing it in Linux box?
Edit script and remove ^M character. ( Ctrl+C or Ctrl+x etc ).
Or
Execute dos2unix script command to convert it.
I am not sure if dos2unix is pre-installed in Ubuntu. If its not installed, install it through Package Manager.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 10-13-2009 #3Just Joined!
- Join Date
- Oct 2009
- Posts
- 5
yea.. i created on Window and then i try to save in thumbdrive then i open back on vmware player and copy back into Gedit.. then it show out that msg.. huh


Reply With Quote