first of all, i would like to wish all gnu/linuxers a very happy and a
prosperous new year!

now coming to my problem:-
i recently installed RedHat 9 on my m/c. i also have RedHat 7.3 on a
separate partition.
when i logged into RedHat 9, even the simplest shell scripts, like
------------------------------------------------------------------------------------------------
#tmp.sh
#!/bin/bash
echo "sdjfljsd"
------------------------------------------------------------------------------------------------
don't work after i do: -
$ chmod +x tmp.sh
$ ./tmp.sh
but this works:-
$ bash tmp.sh

the first case gives the foll error:-
bash: bad interpreter .....

when i log into RedHat 7.3, and try to do a "chroot" to the "/" of the
RedHat 9 partition, i get the error:-
bash: Permission denied

i even tried copying /bin/bash from RedHat 7.3 to RedHat 9, but it did not
help.
any help regarding this problem would be greatly appreciated.

thanks for the help!

--
You can teach a student a lesson for a day; but if you can teach him to
learn by creating curiosity, he will continue the learning process as long
as he lives. - Clay Bedford.


---
Pradnyesh Sawant
[EMAIL PROTECTED]                         Ph. 91-022-27703060
http://www.geocities.com/spradnyesh
---



-- 
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to