bash scripting

dave
2004-08-15T03:00:19Z

I tried the same script with #!/bin/bash as the first line and get the
same error. Then I cd to /bin and do a ls bash and this is what I get.

[dave@dave bin]$ ls bash
bash*
[dave@dave bin]$ ./bash
[dave@dave bin]$ /home/dave/scripts/new.sh
: bad interpreter: No such file or directory
[dave@dave bin]$

Then I tried the samw script again and I get the same error. I used
chmod and set the script file as 777. Still no go. I believe its not
finding bash but I sure can't tell why. I ran a setup.sh script in
/usr/share/webmin today and it ran just fine. I am confused Any more
ideas? Thanks again.
Dave

--
Dave Pomeroy K7DNP SouthEastern Washington