On Sunday 09 Feb 2003 4:57 pm, Michael Adams wrote: > > Hmm, so why isn't it working??? I've chmod the script to 755 just to > > confirm there were not exec restrictions in force. > > > > Here is my shell output > > > > [magnet@linux1 magnet]$ ./drive1/magnet/vcr/test.sh > > bash: ./drive1/magnet/vcr/test.sh: No such file or directory > > > > Any clues what Ive done wrong? > > Putting ./ infront of a file means in "this" directory. > > If "drive1" is in root, and if the cd is "/drive1/magnet", then > "./drive1/magnet/vcr/test.sh" means > "/drive1/magnet/drive1/magnet/vcr/test.sh" and test.sh wont be found. Try > "/drive1/magnet/vcr/test.sh" wothout the dot in front.
ok, slight typo in last posting by me... here is latest attempt: [magnet@linux1 magnet]$ /drive1/magnet/vcr/test.sh : bad interpreter: No such file or directory I have started my script with #!/bin/bash so Im not sure what this error means. -- magnet Registered Linux User: 281659 Registered machines: 163839,163840,163841,163842,163843,163844 6xAthlon 1.2GHz all running some flavour of Mandrake. "My home is over-run with penguins that like a warm environment!"
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com