bash scripting
am 15.08.2004 05:00:19 von Dave PomeoryI 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
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs