[mohaa] console reattatch
Chunky Kibbles
chunky at icculus.org
Sat Jul 20 15:39:05 EDT 2002
On Sat, Jul 20, 2002 at 03:36:50PM +0200, Marek Suwalski wrote:
> but we receive error message
>
> bash: ./start-mohaa: bad interpreter: Permission denied
Ugh. Now get rid of all the ^Ms in the file. [this is caused by bash
reading the first line of magic as
#!/bin/sh^M
which, of course, doesn't exist]
cat file | tr -d '^M' > file1
mv file1 file
to get the ^M, push ctrl+v then ctrl+m [it's NOT a ^ then an M]
Gary (-;
More information about the Mohaa
mailing list