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.

[EMAIL PROTECTED] bin]$ ls bash
bash*
[EMAIL PROTECTED] bin]$ ./bash
[EMAIL PROTECTED] bin]$ /home/dave/scripts/new.sh
: bad interpreter: No such file or directory
[EMAIL PROTECTED] 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

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to