On Thu, Dec 04, 2003 at 01:27:23PM +0800, Ow Mun Heng wrote:that crossed my mind as well. i tried it with #!/bin/bash and got the same error.
i'm stil having trouble. i made it exe by root, and dropped it in /bin. but when i try to run it i get this error:
bad interpreter. no such file or directory
You're kidding right? exe? Or do you just mean executable by root?
you did chmod u+x scriptname.sh right??
The bad interpreter error could be related to the first line of the script, which (I think) reads:
#!/bin/sh
Perhaps change it to
#!/bin/bash
Regards, Msquared...
i double checked the permissions by doing #chmod u+x scriptname.sh
then tried to run it, but again got the error.
--
regards,
shane
-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list