hi, i d/led a script called xyz.txt on my windoze laptop n transferred it 2 my rhl 7.1 (kernel 2.4.12) box via a floppy. Renamed it and set the proper permissions(execute perm). Now doing a ./xyz.sh gives bash:xyz.sh command not found
writing a "Hello world" script in the same dir with the same shell(/bin/sh) works perfectly fine. Setting the exact same permissions for the xyz.sh doesn help. I tried 777 also, but it didn work. I edited xyz.sh and wrote the same thing i wrote in the hello world script and it doesnt work. I vi'ed the hello world script and read the contents of the entire xyz.sh (the original xyz.sh w/o the hello world stuff).. all 200 lines of it, and it worked. What could be the problem? Another (maybe) related problem that encountered -> I tried copying modutils from the root filesystem of another distro mounted on /mnt/xdistro but it gave the same run. Although insmod was in the path /usr/sbin but tryin 2 execute it gave the same error(command not found). I tried ./insmod also, (while in /usr/sbin) but that also didn work! What could be the problem?? -Anks _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
